summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2024-08-08 13:35:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-14 09:25:21 +0300
commit2b217514436744dd98c4d9fa48d60610f9f67d61 (patch)
tree2a9629a9ffd80e750552e51cee38b8960a424758 /scripts/gdb/linux/utils.py
parentb1ce5164b5835eed98cee4132926e5b016179c8c (diff)
downloadlinux-2b217514436744dd98c4d9fa48d60610f9f67d61.tar.xz
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions