]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: ethernet: aquantia: Removed extra assignment for skb->dev.
authorPavel Belous <pavel.belous@aquantia.com>
Mon, 20 Feb 2017 19:36:39 +0000 (22:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2017 22:11:09 +0000 (17:11 -0500)
This assignment is not needed.

Signed-off-by: Pavel Belous <pavel.belous@aquantia.com>
Reviewed-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_ring.c

index fed6ac51559f987ad6bf5c1acbb859e6c9197013..22bb75eff27477a155692b9b812a9e01f293638d 100644 (file)
@@ -209,7 +209,6 @@ int aq_ring_rx_clean(struct aq_ring_s *self, int *work_done, int budget)
                                goto err_exit;
                        }
 
-                       skb->dev = ndev;
                        skb_put(skb, buff->len);
                } else {
                        skb = netdev_alloc_skb(ndev, ETH_HLEN);