]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netfront: remove redundant assignment to variable 'act'
authorColin Ian King <colin.king@canonical.com>
Thu, 2 Jul 2020 14:22:23 +0000 (15:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jul 2020 21:37:29 +0000 (14:37 -0700)
commitc9317b94e19cd2ff8061cada04008df990dcdadc
tree879aa1e48d8607c783fda871f3c170bf8b14c902
parent699d2c872d5862647a22b5970c39504c70168d65
xen-netfront: remove redundant assignment to variable 'act'

The variable act is being initialized with a value that is
never read and it is being updated later with a new value. The
initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c