Skip to content

Commit

Permalink
jmicron: fix warning
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Andrew Morton authored and Bartlomiej Zolnierkiewicz committed Jan 27, 2007
1 parent 1e7106f commit a51545a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/ide/pci/jmicron.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a51545a

Please sign in to comment.