]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - lib/kobject_uevent.c
lib/kobject_uevent.c: fix CONIG_NET=n warning
[karo-tx-linux.git] / lib / kobject_uevent.c
index 59c15511d58ab9da74ed6d77fed198b666235c6b..e2eb989d3223987b612b66a18547be7862ae3695 100644 (file)
@@ -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)
 {