summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/nvidia
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@oracle.com>2017-02-23 11:22:49 +0300
committerDavid S. Miller <davem@davemloft.net>2017-02-23 18:55:07 +0300
commitca92aea9781691bae3bafde95048cc3840a70ad8 (patch)
tree39dee2b291517d8c804f6d9da13a0c47cdb0e5dd /drivers/net/ethernet/nvidia
parentbc1750f366902449f36f15f4a692a495fe6bcdfe (diff)
downloadlinux-ca92aea9781691bae3bafde95048cc3840a70ad8.tar.xz
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')
-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;
}
/**