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>
This commit is contained in:

committed by
Linus Torvalds

parent
90fd30c914
commit
280da4e4d3
@@ -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:
|
||||
|
Reference in New Issue
Block a user