]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: dsa: mv88e6xxx: remove unneeded cmode initialization
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 23 Mar 2019 18:45:13 +0000 (19:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Mar 2019 20:47:23 +0000 (13:47 -0700)
commit863d1a8d5523d345186277014cebe861f2782130
tree9887f95d5f5c5b430547a49363dcf3a1310958a8
parent32705592f944f0f7a3ec58ffd562d828b24f659a
net: dsa: mv88e6xxx: remove unneeded cmode initialization

This partially reverts ed8fe20205ac ("net: dsa: mv88e6xxx: prevent
interrupt storm caused by mv88e6390x_port_set_cmode"). I missed
that chip->ports[].cmode is overwritten anyway by the cmode
caching in mv88e6xxx_setup().

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/port.h