diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2017-12-17 17:02:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-19 11:07:16 -0500 |
commit | c7fe89e30054c50fe7f8236bfbab3801643bd32b (patch) | |
tree | c6829fbcdb7cbd6d2fc343110d70aa0372e30eba /drivers/net/ethernet/broadcom/bcm63xx_enet.h | |
parent | bbd62d24f936f8efab95dea583f6b69da4f036e2 (diff) | |
download | op-kernel-dev-c7fe89e30054c50fe7f8236bfbab3801643bd32b.zip op-kernel-dev-c7fe89e30054c50fe7f8236bfbab3801643bd32b.tar.gz |
bcm63xx_enet: use platform device id directly for miibus name
Directly use the platform device for generating the miibus name. This
removes the last user of bcm_enet_priv::mac_id and we can remove the
field.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bcm63xx_enet.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bcm63xx_enet.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.h b/drivers/net/ethernet/broadcom/bcm63xx_enet.h index 5a66728..1d3c917 100644 --- a/drivers/net/ethernet/broadcom/bcm63xx_enet.h +++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.h @@ -193,9 +193,6 @@ struct bcm_enet_mib_counters { struct bcm_enet_priv { - /* mac id (from platform device id) */ - int mac_id; - /* base remapped address of device */ void __iomem *base; |