summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2013-03-19 18:08:45 -0400
committerDavid S. Miller <davem@davemloft.net>2013-03-19 18:08:45 -0400
commitb44540ea024b9280c9be9d055f084e0956bcfa44 (patch)
treebfd87d5da1402c30387f34307e32451f57da57f8 /tools/testing
parent947124460d0c47d465b5846946d3f2b5cee6026e (diff)
downloadlinux-b44540ea024b9280c9be9d055f084e0956bcfa44.tar.gz
linux-b44540ea024b9280c9be9d055f084e0956bcfa44.tar.bz2
linux-b44540ea024b9280c9be9d055f084e0956bcfa44.zip
net: Get rid of compat defines in psock_fanout.c selftest.
Reported-by: Daniel Baluta <dbaluta@ixiacom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/net-afpacket/psock_fanout.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/testing/selftests/net-afpacket/psock_fanout.c b/tools/testing/selftests/net-afpacket/psock_fanout.c
index 09dbf93c53d4..af9b0196b0be 100644
--- a/tools/testing/selftests/net-afpacket/psock_fanout.c
+++ b/tools/testing/selftests/net-afpacket/psock_fanout.c
@@ -56,24 +56,6 @@
#include <sys/types.h>
#include <unistd.h>
-/* Hack: build even if local includes are old */
-#ifndef PACKET_FANOUT
-#define PACKET_FANOUT 18
-#define PACKET_FANOUT_HASH 0
-#define PACKET_FANOUT_LB 1
-#define PACKET_FANOUT_CPU 2
-#define PACKET_FANOUT_FLAG_DEFRAG 0x8000
-
-#ifndef PACKET_FANOUT_ROLLOVER
-#define PACKET_FANOUT_ROLLOVER 3
-#endif
-
-#ifndef PACKET_FANOUT_FLAG_ROLLOVER
-#define PACKET_FANOUT_FLAG_ROLLOVER 0x1000
-#endif
-
-#endif
-
#define DATA_LEN 100
#define DATA_CHAR 'a'