From ca92aea9781691bae3bafde95048cc3840a70ad8 Mon Sep 17 00:00:00 2001 From: Zhu Yanjun Date: Thu, 23 Feb 2017 03:22:49 -0500 Subject: [PATCH] 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 Signed-off-by: David S. Miller --- drivers/net/ethernet/nvidia/forcedeth.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c index 92367a06491a0..978d32944c804 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; } /** -- 2.39.5