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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
{
struct arcnet_local *lp = netdev_priv(dev);
struct sk_buff *skb;
{
struct arcnet_local *lp = netdev_priv(dev);
struct sk_buff *skb;
- struct archdr *pkt = pkthdr;
char *pktbuf, *pkthdrbuf;
int ofs;
char *pktbuf, *pkthdrbuf;
int ofs;