]> git.baikalelectronics.ru Git - kernel.git/commit
USB: c67x00: remove unnecessary check of res
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 10 May 2022 11:28:04 +0000 (19:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 May 2022 09:36:46 +0000 (11:36 +0200)
commit77d57b8e1f14f78f2fb6bd85ebc75ede951fd8a4
treed2ce3bf80375fd65637e284d3f571f4792df54d9
parent614ecc7d9eb6fc6492c4a2be1b8c45eaf17e6451
USB: c67x00: remove unnecessary check of res

The resource is checked in probe function, so there is
no need do this check in remove function.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220510112804.2401150-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/c67x00/c67x00-drv.c