Commit 77afe3b8 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller
Browse files

arcnet: capmode: remove redundant assignment to pointer pkt



Pointer pkt is being initialized with a value that is never read
and pkt is being re-assigned a little later on. The assignment is
redundant and hence can be removed.

Addresses-Coverity: ("Ununsed value")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1f99fc7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ static void rx(struct net_device *dev, int bufnum,
{
	struct arcnet_local *lp = netdev_priv(dev);
	struct sk_buff *skb;
	struct archdr *pkt = pkthdr;
	struct archdr *pkt;
	char *pktbuf, *pkthdrbuf;
	int ofs;