From: Andrew Morton Date: Sat, 27 Jan 2007 12:46:21 +0000 (+0100) Subject: jmicron: fix warning X-Git-Tag: v2.6.20-rc7~17^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a51545ab2523b9cfd426737495f877821006371a;p=karo-tx-linux.git jmicron: fix warning Signed-off-by: Andrew Morton Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/pci/jmicron.c b/drivers/ide/pci/jmicron.c index c1cec236ecf0..35dda8fcd0ac 100644 --- a/drivers/ide/pci/jmicron.c +++ b/drivers/ide/pci/jmicron.c @@ -93,8 +93,9 @@ static int __devinit ata66_jmicron(ide_hwif_t *hwif) return 0; return 1; case PORT_SATA: - return 1; + break; } + return 1; /* Avoid bogus "control reaches end of non-void function" */ } static void jmicron_tuneproc (ide_drive_t *drive, byte mode_wanted)