2006-03-23 19:01:45

by Eric Sesterhenn

[permalink] [raw]
Subject: [Patch] unused label in drivers/block/cciss.c

hi,

this patch removes a warning about an unused label, by
moving the label into the ifdef.

Signed-off-by: Eric Sesterhenn <[email protected]>

--- linux-2.6.16-git6/drivers/block/cciss.c.orig 2006-03-23 19:36:06.000000000 +0100
+++ linux-2.6.16-git6/drivers/block/cciss.c 2006-03-23 19:36:19.000000000 +0100
@@ -2728,9 +2728,9 @@ static void __devinit cciss_interrupt_mo
return;
}
}
+default_int_mode:
#endif /* CONFIG_PCI_MSI */
/* if we get here we're going to use the default interrupt mode */
-default_int_mode:
c->intr[SIMPLE_MODE_INT] = pdev->irq;
return;
}



2006-03-24 08:53:40

by Jens Axboe

[permalink] [raw]
Subject: Re: [Patch] unused label in drivers/block/cciss.c

On Thu, Mar 23 2006, Eric Sesterhenn wrote:
> hi,
>
> this patch removes a warning about an unused label, by
> moving the label into the ifdef.
>
> Signed-off-by: Eric Sesterhenn <[email protected]>

Thanks, applied to for-linus upstream branch.

--
Jens Axboe