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)
commite44f65fd666c73944d6f2462cea0559ce5508721
tree879aa1e48d8607c783fda871f3c170bf8b14c902
parentdd2b7a66b6a9c7bdf2c3d62e5d5b1a2abdddb052
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