]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: remove redundant assignment
authorNigel Christian <nigel.l.christian@gmail.com>
Tue, 25 May 2021 04:05:58 +0000 (23:05 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 May 2021 22:20:27 +0000 (15:20 -0700)
commitccc882f0d838cb45a1a78ea4e48c219887f920dc
treee9dba09569f30ba8dd8e7fd3559d90d64dae50dc
parentc1eaf3c09c54bdc0886f8ecd6532803ab9d82454
net: bridge: remove redundant assignment

The variable br is assigned a value that is not being read after
exiting case IFLA_STATS_LINK_XSTATS_SLAVE. The assignment is
redundant and can be removed.

Addresses-Coverity ("Unused value")
Signed-off-by: Nigel Christian <nigel.l.christian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netlink.c