diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2020-01-02 20:30:53 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2020-01-02 20:30:53 +0000 |
| commit | 0aabbeff36be90aec5afdd8704eeeda57bb36690 (patch) | |
| tree | 528492e574589f9c51a2d2da59720993a354c5ac /sys/geom | |
| parent | aa2ad8c1e639c9d44916550962260e9a609366ed (diff) | |
Notes
Diffstat (limited to 'sys/geom')
| -rw-r--r-- | sys/geom/eli/g_eli.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c index 32a91f202dae2..42841360d6d71 100644 --- a/sys/geom/eli/g_eli.c +++ b/sys/geom/eli/g_eli.c @@ -1048,8 +1048,7 @@ g_eli_destroy(struct g_eli_softc *sc, boolean_t force) bzero(sc, sizeof(*sc)); free(sc, M_ELI); - if (pp == NULL || (pp->acr == 0 && pp->acw == 0 && pp->ace == 0)) - G_ELI_DEBUG(0, "Device %s destroyed.", gp->name); + G_ELI_DEBUG(0, "Device %s destroyed.", gp->name); g_wither_geom_close(gp, ENXIO); return (0); |
