aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/nvidia/forcedeth.c
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@oracle.com>2017-02-23 03:22:49 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-23 10:55:07 -0500
commitca92aea9781691bae3bafde95048cc3840a70ad8 (patch)
tree39dee2b291517d8c804f6d9da13a0c47cdb0e5dd /drivers/net/ethernet/nvidia/forcedeth.c
parentbpf: fix spelling mistake: "proccessed" -> "processed" (diff)
downloadlinux-dev-ca92aea9781691bae3bafde95048cc3840a70ad8.tar.xz
linux-dev-ca92aea9781691bae3bafde95048cc3840a70ad8.zip
forcedeth: Remove return from a void function
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>
Diffstat (limited to 'drivers/net/ethernet/nvidia/forcedeth.c')
-rw-r--r--drivers/net/ethernet/nvidia/forcedeth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c
index 92367a06491a..978d32944c80 100644
--- 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;
}
/**