From 5ad6b625098ed6128dd8ae9760a643b7a07a8c05 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 22 Jun 2003 11:31:38 +0000 Subject: [PATCH] Remove 256 unit limit, there is no evil minor number encoding to deal with any more. Spotted by: "Darren Freestone" --- sys/dev/md/md.c | 2 -- 1 file changed, 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);