staging: r8188eu: remove NULL check for usb_kill_urb
authorMartin Kaiser <martin@kaiser.cx>
Wed, 11 Jan 2023 10:02:01 +0000 (11:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:36:17 +0000 (19:36 +0100)
commit664f99fd544ff4de42172ff826081a8d2e2eff34
tree96caed877e633f0c70031334f6da23bbcd83475f
parentf4f52873a1a8b40dcfbae5fd8c35e74cc6f46ae9
staging: r8188eu: remove NULL check for usb_kill_urb

usb_kill_urb handles a NULL parameter. There's no need for NULL checks
before we call usb_kill_urb.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20230111100201.251905-1-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/usb_ops_linux.c