diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-05-27 13:01:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-27 11:28:23 -0700 |
commit | 9f01a71c5cbec10b851588457089d17c20dc5a40 (patch) | |
tree | cae2ec495bc273d0be588e5c04de4172d56a43c0 /net | |
parent | f96e9641e92b54de27b93d1af03d74b8304ce00a (diff) | |
download | lwn-9f01a71c5cbec10b851588457089d17c20dc5a40.tar.gz lwn-9f01a71c5cbec10b851588457089d17c20dc5a40.zip |
net: dsa: b53: remove redundant premature assignment to new_pvid
Variable new_pvid is being assigned with a value that is never read,
the following if statement updates new_pvid with a new value in both
of the if paths. The assignment is redundant and can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions