diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2017-02-23 03:22:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-23 10:55:07 -0500 |
commit | ca92aea9781691bae3bafde95048cc3840a70ad8 (patch) | |
tree | 39dee2b291517d8c804f6d9da13a0c47cdb0e5dd /drivers/net/ethernet/nvidia | |
parent | bc1750f366902449f36f15f4a692a495fe6bcdfe (diff) | |
download | linux-next-ca92aea9781691bae3bafde95048cc3840a70ad8.tar.gz |
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.c | 2 |
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; } /** |