]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf18311fadb76d284c42e6c580a183c06e8b9592f
tree3081b9a546ab5cf0ce736f28eb72678f6cc4db75
parent848c938cb05f212cb3428fcd3984a4ec62c0a935
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