]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: fix broken if statement because of a stray semicolon
authorColin Ian King <colin.king@canonical.com>
Tue, 12 Nov 2019 13:05:23 +0000 (13:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Nov 2019 19:29:20 +0000 (11:29 -0800)
commit7679ff1b9f3ba48e936ca3a9e205c460f49fa401
treee3d4fe30e7ed226372faa3ab6f47d66f5a2888d2
parente953e49a91a270508d46ee8982a01aee6db26ca5
net: dsa: mv88e6xxx: fix broken if statement because of a stray semicolon

There is a stray semicolon in an if statement that will cause a dev_err
message to be printed unconditionally. Fix this by removing the stray
semicolon.

Addresses-Coverity: ("Stay semicolon")
Fixes: d2c9923e6568 ("net: dsa: mv88e6xxx: Add support for port mirroring")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c