diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-06-22 11:31:38 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-06-22 11:31:38 +0000 |
| commit | 8198a1a472b2490191328afb4edd8476387ff102 (patch) | |
| tree | efb1a5182192804b8bacdbd1e0ff129412c5e75f /sys/dev/md/md.c | |
| parent | 76e16c7155f35ea799cea40d4998d6599f6bb1cd (diff) | |
Notes
Diffstat (limited to 'sys/dev/md/md.c')
| -rw-r--r-- | sys/dev/md/md.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 32ed47f421ce..57eed2e689de 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -650,8 +650,6 @@ mdnew(int unit) } if (unit == -1) unit = max + 1; - if (unit > 255) - return (NULL); sc = (struct md_s *)malloc(sizeof *sc, M_MD, M_WAITOK | M_ZERO); sc->unit = unit; bioq_init(&sc->bio_queue); |
