--- src/sys/dev/raid/twa/twa_cam.c 2008/01/05 14:02:38 1.5 +++ src/sys/dev/raid/twa/twa_cam.c 2008/01/06 16:55:51 1.6 @@ -507,10 +507,9 @@ void twa_request_bus_scan(struct twa_softc *sc) { struct cam_path *path; - union ccb *ccb; + union ccb *ccb = NULL; - if ((ccb = kmalloc(sizeof(union ccb), M_TEMP, M_WAITOK|M_ZERO)) == NULL) - return; + kmalloc(sizeof(union ccb), M_TEMP, M_WAITOK | M_ZERO); if (xpt_create_path(&path, xpt_periph, cam_sim_path(sc->twa_sim), CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) return;