[PATCH][TRIVIAL] clean up DAC960 case statement

From: Rik van Riel
Date: Mon Oct 13 2003 - 09:08:17 EST


The compiler is a lot happier if the case statement has a default.

diff -urNp linux-5110/drivers/block/DAC960.c linux-10010/drivers/block/DAC960.c
--- linux-5110/drivers/block/DAC960.c
+++ linux-10010/drivers/block/DAC960.c
@@ -5491,11 +5491,7 @@ static int DAC960_IOCTL(Inode_T *Inode,
.part[MINOR(Inode->i_rdev)]
.nr_sects << 9,
(u64 *) Argument);
- case BLKRAGET:
- case BLKRASET:
- case BLKFLSBUF:
- case BLKBSZGET:
- case BLKBSZSET:
+ default:
return blk_ioctl(Inode->i_rdev, Request, Argument);
case BLKRRPART:
/* Re-Read Partition Table. */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/