net: dsa: mv88e6xxx: avoid writing the same mode
There is no need to change the 802.1Q port mode for the same value.
Thus avoid such message:
[ 401.954836] dsa dsa@0 lan0: 802.1Q Mode: Disabled (was Disabled)
Signed-off-by:
Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Tested-by:
Andrew Lunn <andrew@lunn.ch>
Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please register or sign in to comment