diff options
author | phk <phk@FreeBSD.org> | 2003-05-02 12:57:40 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-02 12:57:40 +0000 |
commit | 5ffbb6f14814926705590b37cac74dfd7fb68378 (patch) | |
tree | 594c5f6c78c750cecd078c970dda4c12439b8b09 | |
parent | 3708ab2594ddc5f06b4b7aad45d15712e9c90c35 (diff) | |
download | FreeBSD-src-5ffbb6f14814926705590b37cac74dfd7fb68378.zip FreeBSD-src-5ffbb6f14814926705590b37cac74dfd7fb68378.tar.gz |
Style improvement.
-rw-r--r-- | sys/geom/geom_sunlabel.c | 7 |
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); } |