Commit 234b921d authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

netpoll: Remove unused EXPORT_SYMBOLs of netpoll_poll and netpoll_poll_dev

Unused symbols waste space.

Commit 0e34e931
"(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: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aea54bce
...@@ -40,8 +40,6 @@ struct netpoll_info { ...@@ -40,8 +40,6 @@ struct netpoll_info {
struct netpoll *netpoll; struct netpoll *netpoll;
}; };
void netpoll_poll_dev(struct net_device *dev);
void netpoll_poll(struct netpoll *np);
void netpoll_send_udp(struct netpoll *np, const char *msg, int len); void netpoll_send_udp(struct netpoll *np, const char *msg, int len);
void netpoll_print_options(struct netpoll *np); void netpoll_print_options(struct netpoll *np);
int netpoll_parse_options(struct netpoll *np, char *opt); int netpoll_parse_options(struct netpoll *np, char *opt);
......
...@@ -177,7 +177,7 @@ static void service_arp_queue(struct netpoll_info *npi) ...@@ -177,7 +177,7 @@ static void service_arp_queue(struct netpoll_info *npi)
} }
} }
void netpoll_poll_dev(struct net_device *dev) static void netpoll_poll_dev(struct net_device *dev)
{ {
const struct net_device_ops *ops; const struct net_device_ops *ops;
...@@ -208,13 +208,11 @@ void netpoll_poll_dev(struct net_device *dev) ...@@ -208,13 +208,11 @@ void netpoll_poll_dev(struct net_device *dev)
zap_completion_queue(); zap_completion_queue();
} }
EXPORT_SYMBOL(netpoll_poll_dev);
void netpoll_poll(struct netpoll *np) static void netpoll_poll(struct netpoll *np)
{ {
netpoll_poll_dev(np->dev); netpoll_poll_dev(np->dev);
} }
EXPORT_SYMBOL(netpoll_poll);
static void refill_skbs(void) static void refill_skbs(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment