]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb79ca85716bd343b1aeea4b0f0e2bdee9bf3b532
tree1d64bf42cc32a4544467eb207c021b785c574946
parentbd5554da2af121d9447cca55321d225ff5caa55a
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