]> git.baikalelectronics.ru Git - kernel.git/commit
bcm63xx_enet: remove pointless mac_id check
authorJonas Gorski <jonas.gorski@gmail.com>
Sun, 17 Dec 2017 16:02:54 +0000 (17:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Dec 2017 16:07:16 +0000 (11:07 -0500)
commit491e88c637d162de48337f8f9ae023e5412abca6
tree83bea465cd3c0e1398bcbe8ec7cc6386d9fd0b0e
parent0104b3b12d0586991341e19d631f3c7f51b42736
bcm63xx_enet: remove pointless mac_id check

Enabling the ephy clock for mac 1 is harmless, and the actual usage of
the ephy is not restricted to mac 0, so we might as well remove the
check.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm63xx_enet.c