net: sched: fix typo in net_device ifdef
authorDaniel Borkmann <daniel@iogearbox.net>
Mon, 11 May 2015 17:28:49 +0000 (19:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 May 2015 17:37:42 +0000 (13:37 -0400)
This should have been #ifdef not #if.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Fixes: d2788d34885d ("net: sched: further simplify handle_ing")
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h

index c4e1caf6056f8093ed33caddcd24f7dbc9e3ef5c..a6d706b2a94762160484f8ac10a1e55da555ffee 100644 (file)
@@ -1655,7 +1655,7 @@ struct net_device {
        rx_handler_func_t __rcu *rx_handler;
        void __rcu              *rx_handler_data;
 
-#if CONFIG_NET_CLS_ACT
+#ifdef CONFIG_NET_CLS_ACT
        struct tcf_proto __rcu  *ingress_cl_list;
 #endif
        struct netdev_queue __rcu *ingress_queue;