From: Dave Hansen <haveblue@us.ibm.com>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org, Dave Hansen <haveblue@us.ibm.com>
Subject: [PATCH] fix trivial alpha warning
Date: Fri, 25 Mar 2005 08:27:35 -0800 [thread overview]
Message-ID: <E1DEreq-0005Xn-00@kernel.beaverton.ibm.com> (raw)
"bandwidth" variable is unused
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
---
kernel/spinlock.c | 0
memhotplug-dave/arch/alpha/kernel/smp.c | 1 -
2 files changed, 1 deletion(-)
diff -puN arch/alpha/kernel/smp.c~A0-fix-alpha-warning arch/alpha/kernel/smp.c
--- memhotplug/arch/alpha/kernel/smp.c~A0-fix-alpha-warning 2005-03-25 08:25:38.000000000 -0800
+++ memhotplug-dave/arch/alpha/kernel/smp.c 2005-03-25 08:25:38.000000000 -0800
@@ -188,7 +188,6 @@ smp_tune_scheduling (int cpuid)
struct percpu_struct *cpu;
unsigned long on_chip_cache; /* kB */
unsigned long freq; /* Hz */
- unsigned long bandwidth = 350; /* MB/s */
cpu = (struct percpu_struct*)((char*)hwrpb + hwrpb->processor_offset
+ cpuid * hwrpb->processor_size);
diff -puN include/linux/list.h~A0-fix-alpha-warning include/linux/list.h
diff -puN kernel/sched.c~A0-fix-alpha-warning kernel/sched.c
diff -puN kernel/spinlock.c~A0-fix-alpha-warning kernel/spinlock.c
_
reply other threads:[~2005-03-25 16:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E1DEreq-0005Xn-00@kernel.beaverton.ibm.com \
--to=haveblue@us.ibm.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@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
Powered by JetHome