diff options
author | Thomas Graf <tgraf@suug.ch> | 2007-07-31 17:13:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-31 17:13:50 -0400 |
commit | 8072f085d79a0a73cc5a0333ffa7f0c5d35f76e0 (patch) | |
tree | 0473aee463a67a7cae6f56546c9fa040312ff546 /net | |
parent | 376407039c26caacc3e433437d25516ba8f3adc9 (diff) |
[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>
Diffstat (limited to '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 06eccca8cb5d..4756d5857abf 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) | |||
952 | struct nlattr *linkinfo[IFLA_INFO_MAX+1]; | 952 | struct nlattr *linkinfo[IFLA_INFO_MAX+1]; |
953 | int err; | 953 | int err; |
954 | 954 | ||
955 | #ifdef CONFIG_KMOD | ||
955 | replay: | 956 | replay: |
957 | #endif | ||
956 | err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFLA_MAX, ifla_policy); | 958 | err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFLA_MAX, ifla_policy); |
957 | if (err < 0) | 959 | if (err < 0) |
958 | return err; | 960 | return err; |