From 9e610a403a7bf6ec5f43d6ba1e79f519e2bd3430 Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 25 Oct 2018 23:23:13 +0200 Subject: [PATCH] Removed some excessive breaks. --- src/disk/hdc_ide.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/disk/hdc_ide.c b/src/disk/hdc_ide.c index c6212b695..03e194c15 100644 --- a/src/disk/hdc_ide.c +++ b/src/disk/hdc_ide.c @@ -9,7 +9,7 @@ * Implementation of the IDE emulation for hard disks and ATAPI * CD-ROM devices. * - * Version: @(#)hdc_ide.c 1.0.53 2018/10/25 + * Version: @(#)hdc_ide.c 1.0.54 2018/10/25 * * Authors: Sarah Walker, * Miran Grca, @@ -387,29 +387,24 @@ ide_get_max(ide_t *ide, int type) return 0; /* Maximum PIO 0 for legacy PIO-only drive. */ else return 4; - break; case TYPE_SDMA: /* SDMA */ if (!IDE_PCI) return -1; else return 2; - break; case TYPE_MDMA: /* MDMA */ if (!IDE_PCI) return -1; else return 2; - break; case TYPE_UDMA: /* UDMA */ if (!IDE_PCI) return -1; else return 2; - break; default: fatal("Unknown transfer type: %i\n", type); return -1; - break; } } @@ -426,16 +421,13 @@ ide_get_timings(ide_t *ide, int type) return 0; else return 120; - break; case TIMINGS_PIO: if (!IDE_PCI) return 0; else return 120; - break; case TIMINGS_PIO_FC: return 0; - break; default: fatal("Unknown transfer type: %i\n", type); return 0;