Netdev List
 help / color / mirror / Atom feed
* [RTNETLINK]: Fix warning for !CONFIG_KMOD
@ 2007-07-31 21:12 Thomas Graf
  2007-07-31 21:14 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Graf @ 2007-07-31 21:12 UTC (permalink / raw)
  To: davem; +Cc: netdev

replay label is unused otherwise.

Signed-off-by: Thomas Graf <tgraf@suug.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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-31 21:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-31 21:12 [RTNETLINK]: Fix warning for !CONFIG_KMOD Thomas Graf
2007-07-31 21:14 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox