Patchwork netlink: remove unused exports

login
register
mail settings
Submitter Johannes Berg
Date July 10, 2009, 6:32 p.m.
Message ID <1247250726.29747.15.camel@johannes.local>
Download mbox | patch
Permalink /patch/29684/
State Accepted
Delegated to: David Miller
Headers show

Comments

Johannes Berg - July 10, 2009, 6:32 p.m.
I added those myself in commits b4ff4f04 and 84659eb5,
but I see no reason now why they should be exported,
only generic netlink uses them which cannot be modular.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
 net/netlink/af_netlink.c |    2 --
 1 file changed, 2 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - July 12, 2009, 9:17 p.m.
From: Johannes Berg <johannes@sipsolutions.net>
Date: Fri, 10 Jul 2009 20:32:06 +0200

> I added those myself in commits b4ff4f04 and 84659eb5,
> but I see no reason now why they should be exported,
> only generic netlink uses them which cannot be modular.
> 
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- wireless-testing.orig/net/netlink/af_netlink.c	2009-07-10 20:21:46.000000000 +0200
+++ wireless-testing/net/netlink/af_netlink.c	2009-07-10 20:26:28.000000000 +0200
@@ -1575,7 +1575,6 @@  int netlink_change_ngroups(struct sock *
 	kfree(old);
 	return err;
 }
-EXPORT_SYMBOL(netlink_change_ngroups);
 
 /**
  * netlink_clear_multicast_users - kick off multicast listeners
@@ -1598,7 +1597,6 @@  void netlink_clear_multicast_users(struc
 
 	netlink_table_ungrab();
 }
-EXPORT_SYMBOL(netlink_clear_multicast_users);
 
 void netlink_set_nonroot(int protocol, unsigned int flags)
 {