summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-09-22 21:41:42 +0200
committerDavid S. Miller <davem@davemloft.net>2009-09-25 00:38:46 +0200
commit6b80d6a6b4e27fd355641823c5f4ac3f96d072e5 (patch)
treee2b8701061efd7cd1cc9734e78f3e14b0126d69b
parentipv4: check optlen for IP_MULTICAST_IF option (diff)
downloadlinux-6b80d6a6b4e27fd355641823c5f4ac3f96d072e5.tar.xz
linux-6b80d6a6b4e27fd355641823c5f4ac3f96d072e5.zip
pktgen: T_TERMINATE flag is unused
Get rid of unused flag bit. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/pktgen.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index 0bcecbf06581..475f52530b6c 100644
--- a/net/core/pktgen.c
+++ b/net/core/pktgen.c
@@ -192,11 +192,10 @@
#define F_QUEUE_MAP_CPU (1<<14) /* queue map mirrors smp_processor_id() */
/* Thread control flag bits */
-#define T_TERMINATE (1<<0)
-#define T_STOP (1<<1) /* Stop run */
-#define T_RUN (1<<2) /* Start run */
-#define T_REMDEVALL (1<<3) /* Remove all devs */
-#define T_REMDEV (1<<4) /* Remove one dev */
+#define T_STOP (1<<0) /* Stop run */
+#define T_RUN (1<<1) /* Start run */
+#define T_REMDEVALL (1<<2) /* Remove all devs */
+#define T_REMDEV (1<<3) /* Remove one dev */
/* If lock -- can be removed after some work */
#define if_lock(t) spin_lock(&(t->if_lock));