From ebb10d8ea61934b9be3c7ac7a4fb433579ba0283 Mon Sep 17 00:00:00 2001 From: Chaitanya Hazarey Date: Fri, 22 Aug 2014 10:29:19 -0700 Subject: [PATCH] Staging: netlogic: xlr_net.c Fixed code-style warnings Fixed the following warning generated by checkpatch.pl: WARNING: Missing a blank line after declarations Signed-off-by: Chaitanya Hazarey Signed-off-by: Greg Kroah-Hartman --- drivers/staging/netlogic/xlr_net.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/netlogic/xlr_net.c b/drivers/staging/netlogic/xlr_net.c index 6013a8fe27f1..f8120febbf19 100644 --- a/drivers/staging/netlogic/xlr_net.c +++ b/drivers/staging/netlogic/xlr_net.c @@ -1125,6 +1125,7 @@ err_gmac: static int xlr_net_remove(struct platform_device *pdev) { struct xlr_net_priv *priv = platform_get_drvdata(pdev); + unregister_netdev(priv->ndev); mdiobus_unregister(priv->mii_bus); mdiobus_free(priv->mii_bus); -- 2.34.1