]> git.dujemihanovic.xyz Git - u-boot.git/commit
driver: net: fsl-mc: remove unused strcture elements
authorPankaj Bansal <pankaj.bansal@nxp.com>
Wed, 10 Oct 2018 08:38:30 +0000 (14:08 +0530)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 10 Oct 2018 17:36:34 +0000 (12:36 -0500)
commitd75e81d9e05575e3f8471e618846565b15b30060
treeed1a17eca885da75050ec47d0faddd9dd3c7dbb2
parentafd6c6b4701d652a68f5d93ad26eba6793e36c81
driver: net: fsl-mc: remove unused strcture elements

The phydev structure is present in both ldpaa_eth_priv and
wriop_dpmac_info. the phydev in wriop_dpmac_info is not being used

As the phydev is created based on phy_addr and bus members of
wriop_dpmac_info, it is appropriate to keep phydev in wriop_dpmac_info.

Also phy_regs is not being used, therefore remove it

Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/ldpaa_eth/ldpaa_eth.c
drivers/net/ldpaa_eth/ldpaa_eth.h
drivers/net/ldpaa_eth/ldpaa_wriop.c
include/fsl-mc/ldpaa_wriop.h