summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/greth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/greth.c b/drivers/net/greth.c
index d75b46141603..2b9c1cbc9ec1 100644
--- a/drivers/net/greth.c
+++ b/drivers/net/greth.c
@@ -560,8 +560,6 @@ map_error:
if (net_ratelimit())
dev_warn(greth->dev, "Could not create TX DMA mapping\n");
dev_kfree_skb(skb);
- return NETDEV_TX_OK;
-
out:
return err;
}