diff options
author | Joachim Eastwood <manabian@gmail.com> | 2015-07-17 00:26:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-20 20:45:57 -0700 |
commit | f4c190eb8b4f80b12dc98ce7d54a3bea0e4e7e69 (patch) | |
tree | f21c0cbf821d566dfb116af722cac58366ba61e8 | |
parent | 1734befd0694c9e430d2c84445eceb6a7bbe1008 (diff) | |
download | op-kernel-dev-f4c190eb8b4f80b12dc98ce7d54a3bea0e4e7e69.zip op-kernel-dev-f4c190eb8b4f80b12dc98ce7d54a3bea0e4e7e69.tar.gz |
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>
-rw-r--r-- | Documentation/networking/stmmac.txt | 4 | ||||
-rw-r--r-- | include/linux/stmmac.h | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Documentation/networking/stmmac.txt b/Documentation/networking/stmmac.txt index e655e24..5fddefa 100644 --- a/Documentation/networking/stmmac.txt +++ b/Documentation/networking/stmmac.txt @@ -139,8 +139,6 @@ struct plat_stmmacenet_data { void (*free)(struct platform_device *pdev, void *priv); int (*init)(struct platform_device *pdev, void *priv); void (*exit)(struct platform_device *pdev, void *priv); - void *custom_cfg; - void *custom_data; void *bsp_priv; }; @@ -186,8 +184,6 @@ Where: which will be stored in bsp_priv, and then passed to init and exit callbacks. init/exit callbacks should not use or modify platform data. - o custom_cfg/custom_data: this is a custom configuration that can be passed - while initializing the resources. o bsp_priv: another private pointer. For MDIO bus The we have: diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index c735f5c..c86a200 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h @@ -123,8 +123,6 @@ struct plat_stmmacenet_data { void (*free)(struct platform_device *pdev, void *priv); int (*init)(struct platform_device *pdev, void *priv); void (*exit)(struct platform_device *pdev, void *priv); - void *custom_cfg; - void *custom_data; void *bsp_priv; }; |