mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Remove unused variable.
Remove unneeded return; Found by: FlexeLint
This commit is contained in:
parent
34567de7fc
commit
b77052e617
1 changed files with 0 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue