Skip to content

Commit 0c4b916

Browse files
jmberg-inteldavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 1a48fbd commit 0c4b916

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

net/netlink/af_netlink.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ static const char *const nlk_cb_mutex_key_strings[MAX_LINKS + 1] = {
128128
};
129129

130130
static int netlink_dump(struct sock *sk);
131-
static void netlink_skb_destructor(struct sk_buff *skb);
132131

133132
/* nl_table locking explained:
134133
* Lookup and traversal are protected with an RCU read-side lock. Insertion

0 commit comments

Comments
 (0)