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)
commit4e4637b10374ede3cd33d7e1b389e6cea6343ea3
treee3d4fe30e7ed226372faa3ab6f47d66f5a2888d2
parent084346be800697d505ffc41b7af919096a4c44a5
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: f0942e00a1ab ("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