diff options
author | Jiri Slaby (SUSE) <[email protected]> | 2024-08-08 12:35:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-08-14 08:25:21 +0200 |
commit | 2b217514436744dd98c4d9fa48d60610f9f67d61 (patch) | |
tree | 2a9629a9ffd80e750552e51cee38b8960a424758 /drivers/fpga/fpga-bridge.c | |
parent | b1ce5164b5835eed98cee4132926e5b016179c8c (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