USB: ohci-sm501: remove unnecessary check of mem
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> Acked-by:
Alan Stern <stern@rowland.harvard.edu> Link: https://lore.kernel.org/r/20230809085348.2761782-1-yangyingliang@huawei.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment