From: Chaitanya Hazarey Date: Fri, 22 Aug 2014 17:29:19 +0000 (-0700) Subject: Staging: netlogic: xlr_net.c Fixed code-style warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ebb10d8ea61934b9be3c7ac7a4fb433579ba0283;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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);