]> 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)
commit577b11a46e716b688b90c7e44497a92578f80082
tree3658078f284764b49e33a697d4bf2c3513c95801
parentc092bf83555d77ab36b00287a341c804266eb91b
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