From: Zhu Yanjun Date: Thu, 23 Feb 2017 08:22:49 +0000 (-0500) Subject: forcedeth: Remove return from a void function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ca92aea9781691bae3bafde95048cc3840a70ad8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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; } /**