summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_sunlabel.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-02 12:57:40 +0000
committerphk <phk@FreeBSD.org>2003-05-02 12:57:40 +0000
commit5ffbb6f14814926705590b37cac74dfd7fb68378 (patch)
tree594c5f6c78c750cecd078c970dda4c12439b8b09 /sys/geom/geom_sunlabel.c
parent3708ab2594ddc5f06b4b7aad45d15712e9c90c35 (diff)
downloadFreeBSD-src-5ffbb6f14814926705590b37cac74dfd7fb68378.zip
FreeBSD-src-5ffbb6f14814926705590b37cac74dfd7fb68378.tar.gz
Style improvement.
Diffstat (limited to 'sys/geom/geom_sunlabel.c')
-rw-r--r--sys/geom/geom_sunlabel.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/geom/geom_sunlabel.c b/sys/geom/geom_sunlabel.c
index ca5157a..cb14831 100644
--- a/sys/geom/geom_sunlabel.c
+++ b/sys/geom/geom_sunlabel.c
@@ -271,11 +271,10 @@ g_sunlabel_taste(struct g_class *mp, struct g_provider *pp, int flags)
if (LIST_EMPTY(&gp->provider)) {
g_slice_spoiled(cp);
return (NULL);
- } else {
- g_slice_conf_hot(gp, 0, 0, SUN_SIZE,
- G_SLICE_HOT_ALLOW, G_SLICE_HOT_DENY, G_SLICE_HOT_CALL);
- gsp->hot = g_sunlabel_hotwrite;
}
+ g_slice_conf_hot(gp, 0, 0, SUN_SIZE,
+ G_SLICE_HOT_ALLOW, G_SLICE_HOT_DENY, G_SLICE_HOT_CALL);
+ gsp->hot = g_sunlabel_hotwrite;
return (gp);
}
OpenPOWER on IntegriCloud