diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-04-22 21:24:37 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-04-22 21:24:37 +0000 |
commit | b09d72daf8d5e53673fe4e0b60ce7eff87d052b8 (patch) | |
tree | 379c39f03e8c5e4f6f8ee12b75edd9e24cdbc44a /sys/geom/geom_sunlabel.c | |
parent | d3a1a13766034992383e883fc69841a844654223 (diff) | |
download | src-b09d72daf8d5e53673fe4e0b60ce7eff87d052b8.tar.gz src-b09d72daf8d5e53673fe4e0b60ce7eff87d052b8.zip |
We don't need to have a slice->start() function.
Notes
Notes:
svn path=/head/; revision=113879
Diffstat (limited to 'sys/geom/geom_sunlabel.c')
-rw-r--r-- | sys/geom/geom_sunlabel.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/geom/geom_sunlabel.c b/sys/geom/geom_sunlabel.c index 8e09362e7079..1bd7627f4e92 100644 --- a/sys/geom/geom_sunlabel.c +++ b/sys/geom/geom_sunlabel.c @@ -138,19 +138,6 @@ g_sunlabel_hotwrite(void *arg, int flag) g_slice_finish_hot(bp); } -static int -g_sunlabel_start(struct bio *bp) -{ - struct g_geom *gp; - struct g_sunlabel_softc *ms; - struct g_slicer *gsp; - - gp = bp->bio_to->geom; - gsp = gp->softc; - ms = gsp->softc; - return (0); -} - static void g_sunlabel_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp __unused, struct g_provider *pp) { @@ -182,7 +169,7 @@ g_sunlabel_taste(struct g_class *mp, struct g_provider *pp, int flags) if (flags == G_TF_NORMAL && !strcmp(pp->geom->class->name, SUNLABEL_CLASS_NAME)) return (NULL); - gp = g_slice_new(mp, 8, pp, &cp, &ms, sizeof *ms, g_sunlabel_start); + gp = g_slice_new(mp, 8, pp, &cp, &ms, sizeof *ms, NULL); if (gp == NULL) return (NULL); gsp = gp->softc; |