]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: mscc: remove useless page configuration in the config init
authorAntoine Tenart <antoine.tenart@bootlin.com>
Thu, 25 Jun 2020 15:42:10 +0000 (17:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2020 23:22:11 +0000 (16:22 -0700)
commitfb02354319c09494663e775427c8c7dacd6091a0
tree3658078f284764b49e33a697d4bf2c3513c95801
parenta8275c89977bdfe039b5420a9ae3c86bc198c5bd
net: phy: mscc: remove useless page configuration in the config init

In the middle of vsc8584_config_init and vsc8514_config_init, the page
is set to 'standard'. This is the default value, and the page isn't set
to another value before. Those pages configuration can be safely
removed.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc/mscc_main.c