]> err.no Git - linux-2.6/commitdiff
jmicron: fix warning
authorAndrew Morton <akpm@osdl.org>
Sat, 27 Jan 2007 12:46:21 +0000 (13:46 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 27 Jan 2007 12:46:21 +0000 (13:46 +0100)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/jmicron.c

index c1cec236ecf012a1f481fb0f98b57cec0fd748c6..35dda8fcd0ac0462880da741d682a2d5d68dffb6 100644 (file)
@@ -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)