Add /* FALLTHROUGH */

Remove unused variable(s).
Order switch in canonical order.

Found by:       FlexeLint
This commit is contained in:
phk 2003-05-31 20:44:32 +00:00
parent cfd44d0633
commit 81cb8df2a1

View File

@ -399,11 +399,8 @@ targbhdislun(struct cam_periph *periph)
static cam_status
targbhctor(struct cam_periph *periph, void *arg)
{
struct ccb_pathinq *cpi;
struct targbh_softc *softc;
cpi = (struct ccb_pathinq *)arg;
/* Allocate our per-instance private storage */
softc = (struct targbh_softc *)malloc(sizeof(*softc),
M_DEVBUF, M_NOWAIT);
@ -436,13 +433,13 @@ targbhdtor(struct cam_periph *periph)
targbhdislun(periph);
switch (softc->init_level) {
default:
/* FALLTHROUGH */
case 1:
free(softc, M_DEVBUF);
break;
case 0:
panic("targdtor - impossible init level");;
case 1:
/* FALLTHROUGH */
default:
free(softc, M_DEVBUF);
break;
}
}