diff options
author | Pankaj Bansal <pankaj.bansal@nxp.com> | 2018-10-10 14:08:30 +0530 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-10-10 12:36:34 -0500 |
commit | d75e81d9e05575e3f8471e618846565b15b30060 (patch) | |
tree | ed1a17eca885da75050ec47d0faddd9dd3c7dbb2 /drivers/net/ldpaa_eth/ldpaa_eth.h | |
parent | afd6c6b4701d652a68f5d93ad26eba6793e36c81 (diff) |
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>
Diffstat (limited to 'drivers/net/ldpaa_eth/ldpaa_eth.h')
-rw-r--r-- | drivers/net/ldpaa_eth/ldpaa_eth.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ldpaa_eth/ldpaa_eth.h b/drivers/net/ldpaa_eth/ldpaa_eth.h index ee784a55ee..3f9154b5bb 100644 --- a/drivers/net/ldpaa_eth/ldpaa_eth.h +++ b/drivers/net/ldpaa_eth/ldpaa_eth.h @@ -127,7 +127,6 @@ struct ldpaa_eth_priv { uint16_t tx_flow_id; enum ldpaa_eth_type type; /* 1G or 10G ethernet */ - struct phy_device *phydev; }; struct dprc_endpoint dpmac_endpoint; |