]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mkiss: remove redundant assignment of len to ax->mtu
authorColin Ian King <colin.king@canonical.com>
Sun, 29 Oct 2017 13:30:25 +0000 (13:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 03:09:45 +0000 (12:09 +0900)
commit28ef7de70dde7762cb81eecf411e2c78a25c457d
tree45bb8a25c2bfe42a39676d82c15f7f67640e4f62
parent81ba4e1ac4f1d3e9d980ca0f003dd3038559b3fa
mkiss: remove redundant assignment of len to ax->mtu

Variable len is being assigned a value that is never read,
hence the assignment is redundant and can be removed. Cleans
up clang warning:

drivers/net/hamradio/mkiss.c:443:3: warning: Value stored to
'len' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hamradio/mkiss.c