summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPankaj Bansal <pankaj.bansal@nxp.com>2018-10-10 14:08:30 +0530
committerJoe Hershberger <joe.hershberger@ni.com>2018-10-10 12:36:34 -0500
commitd75e81d9e05575e3f8471e618846565b15b30060 (patch)
treeed1a17eca885da75050ec47d0faddd9dd3c7dbb2 /include
parentafd6c6b4701d652a68f5d93ad26eba6793e36c81 (diff)
downloadu-boot-d75e81d9e05575e3f8471e618846565b15b30060.tar.gz
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')
-rw-r--r--include/fsl-mc/ldpaa_wriop.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/fsl-mc/ldpaa_wriop.h b/include/fsl-mc/ldpaa_wriop.h
index 07e5130264..8971c6c55b 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;