diff options
Diffstat (limited to 'stand/common/devopen.c')
-rw-r--r-- | stand/common/devopen.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/stand/common/devopen.c b/stand/common/devopen.c index 8fd2c1796555..a50334ba61e3 100644 --- a/stand/common/devopen.c +++ b/stand/common/devopen.c @@ -24,9 +24,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <stand.h> #include <string.h> @@ -63,9 +60,7 @@ devopen(struct open_file *f, const char *fname, const char **file) * pw if needed), this will attach the geli code to the open_file by * replacing f->f_dev and f_devdata with pointers to a geli_devdesc. */ - if (f->f_dev->dv_type == DEVT_DISK) { - geli_probe_and_attach(f); - } + geli_probe_and_attach(f); #endif return (0); |