Skip to content
Commit 0e9804cf authored by Yang Yingliang's avatar Yang Yingliang Committed by Paolo Abeni
Browse files

ethernet: 8390: remove unnecessary check of mem



The 'mem' returned by platform_get_resource() has been checked in probe
function, so it is no need do this check in remove function.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220927151406.797800-1-yangyingliang@huawei.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent d49e265b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment