net: dsa: mv88e6xxx: avoid writing the same mode
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Mon, 7 Mar 2016 23:24:52 +0000 (18:24 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Mar 2016 21:10:31 +0000 (16:10 -0500)
commit5220ef1e39577fbe20989e97eac708d8896966f3
tree1d64bf42cc32a4544467eb207c021b785c574946
parent5da96031834a65e064b97c8d9f7df958c818a4cc
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>
drivers/net/dsa/mv88e6xxx.c