]> git.proxmox.com Git - mirror_ovs.git/commitdiff
datapath: Remove redundant check for IFF_NO_QUEUE
authorKaige Fu <fukaige@huawei.com>
Tue, 31 Oct 2017 01:13:50 +0000 (09:13 +0800)
committerBen Pfaff <blp@ovn.org>
Wed, 1 Nov 2017 20:12:09 +0000 (13:12 -0700)
IFF_NO_QUEUE is checked twice. This cause a situation
that HAVE_IFF_NO_QUEUE is defined no matter whether
the flag IFF_NO_QUEUE is defined in kernel or not.

Signed-off-by: Kaige Fu <fukaige@huawei.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Reviewed-by: Greg Rose <gvrose8192@gmail.com>
datapath/linux/compat/include/linux/netdevice.h

index a5d4ee836d18472620e9bf33d5d719b72179ee90..3c3cf429fa8b3bf17b755961a0a61fa0b25687c1 100644 (file)
@@ -22,9 +22,6 @@ struct net;
 #define IFF_LIVE_ADDR_CHANGE 0
 #endif
 
-#ifndef IFF_NO_QUEUE
-#define IFF_NO_QUEUE   0
-#endif
 #ifndef IFF_OPENVSWITCH
 #define IFF_OPENVSWITCH 0
 #endif