Remove unused variable.

Remove unneeded return;

Found by:       FlexeLint
This commit is contained in:
Poul-Henning Kamp 2003-05-31 19:41:33 +00:00
parent 34567de7fc
commit b77052e617

View file

@ -217,8 +217,6 @@ g_pc98_start(struct bio *bp)
default:
return (0);
}
return (0);
}
static void
@ -258,7 +256,6 @@ g_pc98_taste(struct g_class *mp, struct g_provider *pp, int flags)
struct g_consumer *cp;
int error;
struct g_pc98_softc *ms;
struct g_slicer *gsp;
u_int fwsectors, fwheads, sectorsize;
u_char *buf;
@ -270,7 +267,6 @@ g_pc98_taste(struct g_class *mp, struct g_provider *pp, int flags)
gp = g_slice_new(mp, NDOSPART, pp, &cp, &ms, sizeof *ms, g_pc98_start);
if (gp == NULL)
return (NULL);
gsp = gp->softc;
g_topology_unlock();
gp->dumpconf = g_pc98_dumpconf;
do {