--- src/sys/dev/misc/labpc/labpc.c 2006/12/22 23:26:17 1.21 +++ src/sys/dev/misc/labpc/labpc.c 2008/01/06 16:55:50 1.22 @@ -398,14 +398,7 @@ labpcinit(void) labpcs = kmalloc(NLABPC * sizeof(struct ctlr *), M_DEVBUF, M_WAITOK | M_ZERO); - /* - * XXX this is really odd code, adding the device only if - * the allocation fails? it could be broken. - */ - if (labpcs) { - return 1; - } - return 0; + return 1; } static int