public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch] unused label in drivers/block/cciss.c
@ 2006-03-23 19:01 Eric Sesterhenn
  2006-03-24  8:53 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Sesterhenn @ 2006-03-23 19:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: axboe

hi,

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

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>

--- 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;
 }



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Patch] unused label in drivers/block/cciss.c
  2006-03-23 19:01 [Patch] unused label in drivers/block/cciss.c Eric Sesterhenn
@ 2006-03-24  8:53 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2006-03-24  8:53 UTC (permalink / raw)
  To: Eric Sesterhenn; +Cc: linux-kernel

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 <snakebyte@gmx.de>

Thanks, applied to for-linus upstream branch.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-24  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-23 19:01 [Patch] unused label in drivers/block/cciss.c Eric Sesterhenn
2006-03-24  8:53 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox