Print this page
5253 kmem_alloc/kmem_zalloc won't fail with KM_SLEEP
5254 getrbuf won't fail with KM_SLEEP

@@ -51,12 +51,10 @@
         /*
          * Allocate mmu state structure and link it to the
          * px state structure.
          */
         mmu_p = kmem_zalloc(sizeof (px_mmu_t), KM_SLEEP);
-        if (mmu_p == NULL)
-                return (DDI_FAILURE);
 
         px_p->px_mmu_p = mmu_p;
         mmu_p->mmu_px_p = px_p;
         mmu_p->mmu_inst = ddi_get_instance(dip);