Re: [PATCH] drivers: net: xgene: Fix error handling

From: David Miller
Date: Wed May 04 2016 - 14:02:43 EST

From: Matthias Brugger <mbrugger@xxxxxxxx>
Date: Tue, 3 May 2016 16:05:07 +0200

> 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: Matthias Brugger <mbrugger@xxxxxxxx>