]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/core/rtnetlink.c
[RTNETLINK]: Fix warning for !CONFIG_KMOD
[net-next-2.6.git] / net / core / rtnetlink.c
index 06eccca8cb5d305e0a6d2750e724cc65f0666235..4756d5857abfb9010a55610423f967d129ae45f4 100644 (file)
@@ -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;