summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-spear.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2024-08-08 12:35:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-14 08:25:21 +0200
commit2b217514436744dd98c4d9fa48d60610f9f67d61 (patch)
tree2a9629a9ffd80e750552e51cee38b8960a424758 /drivers/usb/host/ehci-spear.c
parentmxser: remove doubled sets of close times (diff)
downloadlinux-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