projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8397bc
)
Staging: netlogic: xlr_net.c Fixed code-style warnings
author
Chaitanya Hazarey
<c@24.io>
Fri, 22 Aug 2014 17:29:19 +0000
(10:29 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 21:01:42 +0000
(14:01 -0700)
Fixed the following warning generated by checkpatch.pl:
WARNING: Missing a blank line after declarations
Signed-off-by: Chaitanya Hazarey <c@24.io>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/netlogic/xlr_net.c
patch
|
blob
|
history
diff --git
a/drivers/staging/netlogic/xlr_net.c
b/drivers/staging/netlogic/xlr_net.c
index 6013a8fe27f14e714cf9fbb4d128640c4e7db3eb..f8120febbf1984fac52fb2af4f8f5643c697e717 100644
(file)
--- 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);