Skip to content
Commit 2680ce7f authored by Yang Yingliang's avatar Yang Yingliang Committed by David S. Miller
Browse files

net: lantiq: fix missing free_netdev() on error in ltq_etop_probe()



Add the missing free_netdev() before return from ltq_etop_probe()
in the error handling case.

Fixes: 14d4e308 ("net: lantiq: configure the burst length in ethernet drivers")
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 61308050
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