diff options
author | Joe Perches <joe@perches.com> | 2011-06-30 11:08:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-03 23:02:07 -0400 |
commit | 234b921dbcf144826e2e2b3663cd8090892ee2b2 (patch) | |
tree | a56109b50886adc934ff48499bd6f9a291f2ddc1 | |
parent | aea54bce01c44bf3e35ac016fcd584b0de137673 (diff) |
netpoll: Remove unused EXPORT_SYMBOLs of netpoll_poll and netpoll_poll_dev
Unused symbols waste space.
Commit 0e34e93177fb
"(netpoll: add generic support for bridge and bonding devices)"
added the symbol more than a year ago with the promise of "future use".
Because it is so far unused, remove it for now.
It can be easily readded if or when it actually needs to be used.
cc: WANG Cong <amwang@redhat.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/linux/netpoll.h | 2 | ||||
-rw-r--r-- | net/core/netpoll.c | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h index 79358bb712c6..5dfa091c3347 100644 --- a/include/linux/netpoll.h +++ b/include/linux/netpoll.h | |||
@@ -40,8 +40,6 @@ struct netpoll_info { | |||
40 | struct netpoll *netpoll; | 40 | struct netpoll *netpoll; |
41 | }; | 41 | }; |
42 | 42 | ||
43 | void netpoll_poll_dev(struct net_device *dev); | ||
44 | void netpoll_poll(struct netpoll *np); | ||
45 | void netpoll_send_udp(struct netpoll *np, const char *msg, int len); | 43 | void netpoll_send_udp(struct netpoll *np, const char *msg, int len); |
46 | void netpoll_print_options(struct netpoll *np); | 44 | void netpoll_print_options(struct netpoll *np); |
47 | int netpoll_parse_options(struct netpoll *np, char *opt); | 45 | int netpoll_parse_options(struct netpoll *np, char *opt); |
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 18d9cbda3a39..4ce595e45f91 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c | |||
@@ -177,7 +177,7 @@ static void service_arp_queue(struct netpoll_info *npi) | |||
177 | } | 177 | } |
178 | } | 178 | } |
179 | 179 | ||
180 | void netpoll_poll_dev(struct net_device *dev) | 180 | static void netpoll_poll_dev(struct net_device *dev) |
181 | { | 181 | { |
182 | const struct net_device_ops *ops; | 182 | const struct net_device_ops *ops; |
183 | 183 | ||
@@ -208,13 +208,11 @@ void netpoll_poll_dev(struct net_device *dev) | |||
208 | 208 | ||
209 | zap_completion_queue(); | 209 | zap_completion_queue(); |
210 | } | 210 | } |
211 | EXPORT_SYMBOL(netpoll_poll_dev); | ||
212 | 211 | ||
213 | void netpoll_poll(struct netpoll *np) | 212 | static void netpoll_poll(struct netpoll *np) |
214 | { | 213 | { |
215 | netpoll_poll_dev(np->dev); | 214 | netpoll_poll_dev(np->dev); |
216 | } | 215 | } |
217 | EXPORT_SYMBOL(netpoll_poll); | ||
218 | 216 | ||
219 | static void refill_skbs(void) | 217 | static void refill_skbs(void) |
220 | { | 218 | { |