]> git.baikalelectronics.ru Git - kernel.git/commit
staging: keucr: remove needless check before usb_free_coherent()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 23 May 2013 09:28:34 +0000 (17:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:46:26 +0000 (20:46 +0900)
commit60df06afeff0d384e7d5695afdb33e80261b7eb6
tree6256a1ede73a99900b575343fec2601e8bb4dd23
parent47689ed954d3690aeee1b0163f0a0d8f3e6ba1cd
staging: keucr: remove needless check before usb_free_coherent()

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

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/keucr/usb.c