arcnet: capmode: remove redundant assignment to pointer pkt
authorColin Ian King <colin.king@canonical.com>
Wed, 28 Aug 2019 23:14:50 +0000 (00:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 21:14:46 +0000 (14:14 -0700)
commit77afe3b82e97c2d1a066d038344bbce8bb8f7d85
tree3081b9a546ab5cf0ce736f28eb72678f6cc4db75
parent1f99fc7fffa5beab7b5dddf666b8036ba95f95c5
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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arcnet/capmode.c