[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070731211258.GJ9285@postel.suug.ch>
Date: Tue, 31 Jul 2007 23:12:58 +0200
From: Thomas Graf <tgraf@...g.ch>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org
Subject: [RTNETLINK]: Fix warning for !CONFIG_KMOD
replay label is unused otherwise.
Signed-off-by: Thomas Graf <tgraf@...g.ch>
Index: net-2.6/net/core/rtnetlink.c
===================================================================
--- net-2.6.orig/net/core/rtnetlink.c 2007-07-22 11:41:46.000000000 +0200
+++ net-2.6/net/core/rtnetlink.c 2007-07-22 12:04:27.000000000 +0200
@@ -952,7 +952,9 @@ static int rtnl_newlink(struct sk_buff *
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;
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists