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>
This commit is contained in:

committed by
David S. Miller

parent
bbd62d24f9
commit
c7fe89e300
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user