stmmac: drop custom_* fields from plat_stmmacenet_data
authorJoachim Eastwood <manabian@gmail.com>
Thu, 16 Jul 2015 22:26:12 +0000 (00:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2015 03:45:57 +0000 (20:45 -0700)
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>
Documentation/networking/stmmac.txt
include/linux/stmmac.h

index e655e2453c9842e8bc9d28cce3b61e79a54c1fbf..5fddefa69baf21ba5db61f7ba1eebe0b6d5cc936 100644 (file)
@@ -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:
index c735f5c91eead34520726a503538ec48046dde86..c86a20047cb100282fd7da894d8bb585bb93bc9e 100644 (file)
@@ -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;
 };
 
This page took 0.035793 seconds and 5 git commands to generate.