media: flexcop-usb: remove needless check before usb_free_coherent()
authorQinglang Miao <miaoqinglang@huawei.com>
Mon, 14 Sep 2020 06:15:13 +0000 (08:15 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 27 Sep 2020 09:25:11 +0000 (11:25 +0200)
commitcf580e11fb6c94bc995dddc55489c65d0499cdd9
treef951486d550f67c253a8d3471c635336a06ccf17
parentd725d20e81c2adc2d3c956ad8aa420b7705532a8
media: flexcop-usb: remove needless check before usb_free_coherent()

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

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/b2c2/flexcop-usb.c