From: Eric Dumazet <eric.dumazet@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: netdev <netdev@vger.kernel.org>
Subject: [PATCH] net: filter: remove unused cpu_off
Date: Wed, 18 Apr 2012 04:51:19 +0200 [thread overview]
Message-ID: <1334717479.2472.73.camel@edumazet-glaptop> (raw)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
diff --git a/arch/sparc/net/bpf_jit_comp.c b/arch/sparc/net/bpf_jit_comp.c
index 4ce0296..1a69244 100644
--- a/arch/sparc/net/bpf_jit_comp.c
+++ b/arch/sparc/net/bpf_jit_comp.c
@@ -240,8 +240,6 @@ do { *prog++ = LD32I | RS1(FP) | S13(-(OFF)) | RD(DEST); \
do { *prog++ = LD32I | RS1(FP) | S13(-(OFF)) | RD(SRC); \
} while (0)
-#define cpu_off offsetof(struct thread_info, cpu)
-
#ifdef CONFIG_SMP
#ifdef CONFIG_SPARC64
#define emit_load_cpu(REG) \
next reply other threads:[~2012-04-18 2:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-18 2:51 Eric Dumazet [this message]
2012-04-18 2:57 ` [PATCH] net: filter: remove unused cpu_off David Miller
2012-04-18 2:59 ` Eric Dumazet
2012-04-18 3:21 ` David Miller
2012-04-18 3:48 ` Eric Dumazet
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=1334717479.2472.73.camel@edumazet-glaptop \
--to=eric.dumazet@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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