5253 kmem_alloc/kmem_zalloc won't fail with KM_SLEEP 5254 getrbuf won't fail with KM_SLEEP
@@ -1946,14 +1946,10 @@ bytes = size * sizeof (sv_name_t); /* Allocate memory for the array of structures */ if (bytes != 0) { svn = kmem_zalloc(bytes, KM_SLEEP); - if (!svn) { - return (spcs_s_ocopyoutf(&kstatus, - ustatus, ENOMEM)); - } } rc = sv_list(svn, size, rvalp, ilp32); if (rc) { if (svn != NULL)