提交 99e55827 编写于 作者: P Pavel Belous 提交者: David S. Miller

net: ethernet: aquantia: Removed extra assignment for skb->dev.

This assignment is not needed.
Signed-off-by: NPavel Belous <pavel.belous@aquantia.com>
Reviewed-by: NLino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 45ee2440
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册