aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <[email protected]>2024-08-08 12:35:40 +0200
committerGreg Kroah-Hartman <[email protected]>2024-08-14 08:25:21 +0200
commit2b217514436744dd98c4d9fa48d60610f9f67d61 (patch)
tree2a9629a9ffd80e750552e51cee38b8960a424758 /drivers/fpga/fpga-bridge.c
parentb1ce5164b5835eed98cee4132926e5b016179c8c (diff)
xhci: dbgtty: remove kfifo_out() wrapper
There is no need to check against kfifo_len() before kfifo_out(). Just ask the latter for data and it tells how much it retrieved. Or returns 0 in case there are no more. Signed-off-by: Jiri Slaby (SUSE) <[email protected]> Cc: Mathias Nyman <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions