summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-27 22:22:26 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-01-27 22:22:26 +0100
commitcb74c577311b2bda5938c5979800b02322852793 (patch)
tree1251f12fa39b8af31c227140802bd132f81b6d36
parenta8574584c3b031f98f7e8175ead5def84fcd8c06 (diff)
Fix sparse warning about shadowed definition
-rw-r--r--kernel/ip_set_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/ip_set_core.c b/kernel/ip_set_core.c
index bef659a..dddc916 100644
--- a/kernel/ip_set_core.c
+++ b/kernel/ip_set_core.c
@@ -984,7 +984,7 @@ ip_set_dump_start(struct sk_buff *skb, struct netlink_callback *cb)
if (cb->args[0] == DUMP_INIT) {
ret = dump_init(cb);
if (ret < 0) {
- struct nlmsghdr *nlh = nlmsg_hdr(cb->skb);
+ nlh = nlmsg_hdr(cb->skb);
/* We have to create and send the error message
* manually :-( */
if (nlh->nlmsg_flags & NLM_F_ACK)