Skip to content
Commit 20decb7e authored by Matthias Brugger's avatar Matthias Brugger Committed by David S. Miller
Browse files

drivers: net: xgene: Fix error handling



When probe bails out with an error, we try to unregister the
netdev before we have even registered it. Fix the goto statements
for that.

Signed-off-by: default avatarMatthias Brugger <mbrugger@suse.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7391daf2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment