From: Johannes Berg Date: Mon, 13 Nov 2017 14:57:30 +0000 (+0100) Subject: netlink: remove unnecessary forward declaration X-Git-Tag: v5.15~10012^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c4b9169781cf15c4c1b9171dab98ff96d5c7fd7;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: David S. Miller --- diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index a3eab90..b9e0ee4 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