projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad84563
)
lib/kobject_uevent.c: fix CONIG_NET=n warning
author
Andrew Morton
<
[email protected]
>
Fri, 21 May 2010 22:05:21 +0000
(15:05 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 4 Jun 2010 20:27:52 +0000
(13:27 -0700)
lib/kobject_uevent.c:87: warning: 'kobj_bcast_filter' defined but not used
Repairs "hotplug: netns aware uevent_helper"
Cc: Eric W. Biederman <
[email protected]
>
Cc: David S. Miller <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
lib/kobject_uevent.c
patch
|
blob
|
history
diff --git
a/lib/kobject_uevent.c
b/lib/kobject_uevent.c
index 59c15511d58ab9da74ed6d77fed198b666235c6b..e2eb989d3223987b612b66a18547be7862ae3695 100644
(file)
--- a/
lib/kobject_uevent.c
+++ b/
lib/kobject_uevent.c
@@
-83,6
+83,7
@@
out:
return ret;
}
+#ifdef CONFIG_NET
static int kobj_bcast_filter(struct sock *dsk, struct sk_buff *skb, void *data)
{
struct kobject *kobj = data;
@@
-98,6
+99,7
@@
static int kobj_bcast_filter(struct sock *dsk, struct sk_buff *skb, void *data)
return 0;
}
+#endif
static int kobj_usermode_filter(struct kobject *kobj)
{