diff options
author | Thomas Graf <tgraf@suug.ch> | 2007-07-31 14:13:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-31 14:13:50 -0700 |
commit | 8072f085d79a0a73cc5a0333ffa7f0c5d35f76e0 (patch) | |
tree | 0473aee463a67a7cae6f56546c9fa040312ff546 | |
parent | 376407039c26caacc3e433437d25516ba8f3adc9 (diff) | |
download | op-kernel-dev-8072f085d79a0a73cc5a0333ffa7f0c5d35f76e0.zip op-kernel-dev-8072f085d79a0a73cc5a0333ffa7f0c5d35f76e0.tar.gz |
[RTNETLINK]: Fix warning for !CONFIG_KMOD
replay label is unused otherwise.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/core/rtnetlink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 06eccca..4756d58 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -952,7 +952,9 @@ static int rtnl_newlink(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg) struct nlattr *linkinfo[IFLA_INFO_MAX+1]; int err; +#ifdef CONFIG_KMOD replay: +#endif err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFLA_MAX, ifla_policy); if (err < 0) return err; |