From 4738f8c1a8045ad803693ec1a2fa6c7368a8a205 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 31 May 2003 20:35:32 +0000 Subject: [PATCH] Remove return after goto. Remove break after return; Found by: FlexeLint --- sys/dev/pccbb/pccbb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index d90008483ef6..78c8f5698067 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -654,7 +654,6 @@ cbb_attach(device_t brdev) if (sc->irq_res == NULL) { printf("cbb: Unable to map IRQ...\n"); goto err; - return (ENOMEM); } if (bus_setup_intr(brdev, sc->irq_res, INTR_TYPE_AV, cbb_intr, sc, @@ -1094,7 +1093,6 @@ cbb_power(device_t brdev, int volts) break; default: return (0); /* power NEVER changed */ - break; } switch (volts & CARD_VPPMASK) {