zd1211rw: remove needless check before usb_free_coherent()
authorXu Wang <vulab@iscas.ac.cn>
Tue, 30 Jun 2020 07:04:04 +0000 (07:04 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 15 Jul 2020 16:46:38 +0000 (19:46 +0300)
commit4f3ebd6fb6806a948df9eb1dc7ea9bb76e2712ec
tree825811970ff16d5a9fce914e80533dc40c3556fc
parent6648cfac8e2a69e12aa314ffe1178353a474b957
zd1211rw: 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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200630070404.8207-1-vulab@iscas.ac.cn
drivers/net/wireless/zydas/zd1211rw/zd_usb.c