projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc1750f
)
forcedeth: Remove return from a void function
author
Zhu Yanjun
<yanjun.zhu@oracle.com>
Thu, 23 Feb 2017 08:22:49 +0000
(
03:22
-0500)
committer
David S. Miller
<davem@davemloft.net>
Thu, 23 Feb 2017 15:55:07 +0000
(10:55 -0500)
In a void function, it is not necessary to append a return statement in it.
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nvidia/forcedeth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/nvidia/forcedeth.c
b/drivers/net/ethernet/nvidia/forcedeth.c
index
92367a0
..
978d329
100644
(file)
--- a/
drivers/net/ethernet/nvidia/forcedeth.c
+++ b/
drivers/net/ethernet/nvidia/forcedeth.c
@@
-3272,8
+3272,6
@@
static void nv_force_linkspeed(struct net_device *dev, int speed, int duplex)
pci_push(base);
writel(np->linkspeed, base + NvRegLinkSpeed);
pci_push(base);
-
- return;
}
/**