summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/err_titan.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-04-17 13:05:24 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-04-17 14:41:30 -0700
commit280da4e4d306667b7faa95152b54f7ca4266ff1e (patch)
tree8a9d5f1602ba8d2d9b9376acc8790a13be471764 /arch/alpha/kernel/err_titan.c
parent90fd30c914ec71eb8dc91259bf720b3641672696 (diff)
downloadblackbird-obmc-linux-280da4e4d306667b7faa95152b54f7ca4266ff1e.tar.gz
blackbird-obmc-linux-280da4e4d306667b7faa95152b54f7ca4266ff1e.zip
alpha: Remove set but unused variables.
This is a new warning in gcc 4.6. Several of these variables are used within #if 0 code, which probably ought to be removed. Most of the changes are legitimate cleanups. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/alpha/kernel/err_titan.c')
-rw-r--r--arch/alpha/kernel/err_titan.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/alpha/kernel/err_titan.c b/arch/alpha/kernel/err_titan.c
index c3b3781a03de..14b26c466c89 100644
--- a/arch/alpha/kernel/err_titan.c
+++ b/arch/alpha/kernel/err_titan.c
@@ -533,8 +533,6 @@ static struct el_subpacket_annotation el_titan_annotations[] = {
static struct el_subpacket *
el_process_regatta_subpacket(struct el_subpacket *header)
{
- int status;
-
if (header->class != EL_CLASS__REGATTA_FAMILY) {
printk("%s ** Unexpected header CLASS %d TYPE %d, aborting\n",
err_print_prefix,
@@ -551,7 +549,7 @@ el_process_regatta_subpacket(struct el_subpacket *header)
printk("%s ** Occurred on CPU %d:\n",
err_print_prefix,
(int)header->by_type.regatta_frame.cpuid);
- status = privateer_process_logout_frame((struct el_common *)
+ privateer_process_logout_frame((struct el_common *)
header->by_type.regatta_frame.data_start, 1);
break;
default:
OpenPOWER on IntegriCloud