diff options
author | Pankaj Bansal | 2018-10-10 14:08:30 +0530 |
---|---|---|
committer | Joe Hershberger | 2018-10-10 12:36:34 -0500 |
commit | d75e81d9e05575e3f8471e618846565b15b30060 (patch) | |
tree | ed1a17eca885da75050ec47d0faddd9dd3c7dbb2 /include/fsl-mc | |
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 'include/fsl-mc')
-rw-r--r-- | include/fsl-mc/ldpaa_wriop.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/fsl-mc/ldpaa_wriop.h b/include/fsl-mc/ldpaa_wriop.h index 07e5130264b..8971c6c55b0 100644 --- a/include/fsl-mc/ldpaa_wriop.h +++ b/include/fsl-mc/ldpaa_wriop.h @@ -41,7 +41,6 @@ struct wriop_dpmac_info { u8 id; u8 board_mux; int phy_addr; - void *phy_regs; phy_interface_t enet_if; struct phy_device *phydev; struct mii_dev *bus; |