summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-11-13 15:57:30 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-14 21:51:14 +0900
commit0c4b9169781cf15c4c1b9171dab98ff96d5c7fd7 (patch)
tree4ce9ccd9aa033d07b11e240cb86195bec79585a1 /net
parent1a48fbd9ec1483f5bf3da63dfd907f4272828b4a (diff)
downloadlinux-0c4b9169781cf15c4c1b9171dab98ff96d5c7fd7.tar.bz2
netlink: remove unnecessary forward declaration
netlink_skb_destructor() is actually defined before the first usage in the file, so remove the unnecessary forward declaration. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/netlink/af_netlink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index a3eab903a9cd..b9e0ee4e22f5 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -128,7 +128,6 @@ static const char *const nlk_cb_mutex_key_strings[MAX_LINKS + 1] = {
};
static int netlink_dump(struct sock *sk);
-static void netlink_skb_destructor(struct sk_buff *skb);
/* nl_table locking explained:
* Lookup and traversal are protected with an RCU read-side lock. Insertion