summaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2016-04-13 02:40:41 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-14 00:15:23 +0200
commit5feebd0a8a799fe076c606b7c3bc267ae8c4344a (patch)
tree4e836ca5b94a31b2cbc0a8cc4fb36ae0ab3a1655 /include/net/dsa.h
parentnet: dsa: Have the switch driver allocate there own private memory (diff)
downloadlinux-5feebd0a8a799fe076c606b7c3bc267ae8c4344a.tar.xz
linux-5feebd0a8a799fe076c606b7c3bc267ae8c4344a.zip
net: dsa: Remove allocation of driver private memory
The drivers now allocate their own memory for private usage. Remove the allocation from the core code. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 7bc7bd9b5ded..165c2e10615c 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -213,7 +213,6 @@ struct dsa_switch_driver {
struct list_head list;
enum dsa_tag_protocol tag_protocol;
- int priv_size;
/*
* Probing and setup.