From: Stephen Hemminger <shemminger@vyatta•com>
To: "David S. Miller" <davem@davemloft•net>
Cc: netdev@vger•kernel.org
Subject: [PATCH 1/2] pktgen: T_TERMINATE flag is unused
Date: Tue, 22 Sep 2009 22:41:42 -0700 [thread overview]
Message-ID: <20090923054201.440781719@vyatta.com> (raw)
In-Reply-To: 20090923054141.932043798@vyatta.com
[-- Attachment #1: pktgen-terminate.patch --]
[-- Type: text/plain, Size: 872 bytes --]
Get rid of unused flag bit.
Signed-off-by: Stephen Hemminger <shemminger@vyatta•com>
--- a/net/core/pktgen.c 2009-09-21 20:35:50.106198752 -0700
+++ b/net/core/pktgen.c 2009-09-21 20:36:03.349310985 -0700
@@ -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));
--
next parent reply other threads:[~2009-09-23 5:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090923054141.932043798@vyatta.com>
2009-09-23 5:41 ` Stephen Hemminger [this message]
2009-09-24 22:44 ` [PATCH 1/2] pktgen: T_TERMINATE flag is unused David Miller
2009-09-23 5:41 ` [PATCH 2/2] pktgen: better scheduler friendliness Stephen Hemminger
2009-09-24 22:44 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090923054201.440781719@vyatta.com \
--to=shemminger@vyatta$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox