Skip to content

Commit b44540e

Browse files
committed
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>
1 parent 9471244 commit b44540e

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

‎tools/testing/selftests/net-afpacket/psock_fanout.c‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -56,24 +56,6 @@
5656
#include <sys/types.h>
5757
#include <unistd.h>
5858

59-
/* Hack: build even if local includes are old */
60-
#ifndef PACKET_FANOUT
61-
#define PACKET_FANOUT 18
62-
#define PACKET_FANOUT_HASH 0
63-
#define PACKET_FANOUT_LB 1
64-
#define PACKET_FANOUT_CPU 2
65-
#define PACKET_FANOUT_FLAG_DEFRAG 0x8000
66-
67-
#ifndef PACKET_FANOUT_ROLLOVER
68-
#define PACKET_FANOUT_ROLLOVER 3
69-
#endif
70-
71-
#ifndef PACKET_FANOUT_FLAG_ROLLOVER
72-
#define PACKET_FANOUT_FLAG_ROLLOVER 0x1000
73-
#endif
74-
75-
#endif
76-
7759
#define DATA_LEN 100
7860
#define DATA_CHAR 'a'
7961

0 commit comments

Comments
 (0)