Skip to content

Commit f4c190e

Browse files
manabiandavem330
authored andcommitted
stmmac: drop custom_* fields from plat_stmmacenet_data
Both of these fields are unused and has been unused since they were added 3 and 5 years ago. Drop them since they are clearly not very useful. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 1734bef commit f4c190e

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

Documentation/networking/stmmac.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ struct plat_stmmacenet_data {
139139
void (*free)(struct platform_device *pdev, void *priv);
140140
int (*init)(struct platform_device *pdev, void *priv);
141141
void (*exit)(struct platform_device *pdev, void *priv);
142-
void *custom_cfg;
143-
void *custom_data;
144142
void *bsp_priv;
145143
};
146144

@@ -186,8 +184,6 @@ Where:
186184
which will be stored in bsp_priv, and then passed to init and
187185
exit callbacks. init/exit callbacks should not use or modify
188186
platform data.
189-
o custom_cfg/custom_data: this is a custom configuration that can be passed
190-
while initializing the resources.
191187
o bsp_priv: another private pointer.
192188

193189
For MDIO bus The we have:

include/linux/stmmac.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ struct plat_stmmacenet_data {
123123
void (*free)(struct platform_device *pdev, void *priv);
124124
int (*init)(struct platform_device *pdev, void *priv);
125125
void (*exit)(struct platform_device *pdev, void *priv);
126-
void *custom_cfg;
127-
void *custom_data;
128126
void *bsp_priv;
129127
};
130128

0 commit comments

Comments
 (0)