projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a48fbd
)
netlink: remove unnecessary forward declaration
author
Johannes Berg
<johannes.berg@intel.com>
Mon, 13 Nov 2017 14:57:30 +0000
(15:57 +0100)
committer
David S. Miller
<davem@davemloft.net>
Tue, 14 Nov 2017 12:51:14 +0000
(21:51 +0900)
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>
net/netlink/af_netlink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netlink/af_netlink.c
b/net/netlink/af_netlink.c
index a3eab903a9cdf9c868064b102f08f8d416250e37..b9e0ee4e22f57066d0ac0bc5f64181fbb65e6acc 100644
(file)
--- 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