diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2024-08-08 12:35:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-14 08:25:21 +0200 |
commit | 2b217514436744dd98c4d9fa48d60610f9f67d61 (patch) | |
tree | 2a9629a9ffd80e750552e51cee38b8960a424758 /drivers/usb/host/ehci-spear.c | |
parent | mxser: remove doubled sets of close times (diff) | |
download | linux-2b217514436744dd98c4d9fa48d60610f9f67d61.tar.xz linux-2b217514436744dd98c4d9fa48d60610f9f67d61.zip |
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) <jirislaby@kernel.org>
Cc: Mathias Nyman <mathias.nyman@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Link: https://lore.kernel.org/r/20240808103549.429349-5-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-spear.c')
0 files changed, 0 insertions, 0 deletions