OSDN Git Service

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)
commitbbd62d24f936f8efab95dea583f6b69da4f036e2
tree83bea465cd3c0e1398bcbe8ec7cc6386d9fd0b0e
parent1942e482258d8cfec9606156cafc6fd1a871f4d5
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