]> git.baikalelectronics.ru Git - kernel.git/commit
USB: yurex: remove needless check before usb_free_coherent()
authorXu Wang <vulab@iscas.ac.cn>
Mon, 10 Aug 2020 02:08:02 +0000 (02:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 10:12:58 +0000 (12:12 +0200)
commit127c2fd8ba5e83c87c563e427a09a19f8bda9489
tree962542536df19cb3d63de24c0a6c0a70b1eebdfa
parenta451cc1fcdb3f1fabd2cd3b1d2b4cce001ca3d7d
USB: yurex: remove needless check before usb_free_coherent()

usb_free_coherent() is safe with NULL addr and this check is
not required.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/r/20200810020802.9082-1-vulab@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/yurex.c