]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitaba12e3fccc79b8553a28a696e20859e3bfb1519
tree6256a1ede73a99900b575343fec2601e8bb4dd23
parent31de28ab35cfd955dbd3495378486df5769aed73
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