]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx-audio: remove needless check before usb_free_coherent()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 15 Jan 2014 05:52:12 +0000 (02:52 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 15 Jan 2014 11:12:03 +0000 (09:12 -0200)
commit40ca47b005f5119aadf0b1b9eecbfeb96be6cc85
treefdad1ca2350f1fb4d969106d430ffe525b5d2540
parentd002b0be64f6657ea18cb96ed3bd0cfaeab15a24
[media] em28xx-audio: 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: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-audio.c