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

@@ -1734,15 +1734,10 @@
 iwp_node_alloc(ieee80211com_t *ic)
 {
         iwp_amrr_t *amrr;
 
         amrr = kmem_zalloc(sizeof (iwp_amrr_t), KM_SLEEP);
-        if (NULL == amrr) {
-                cmn_err(CE_WARN, "iwp_node_alloc(): "
-                    "failed to allocate memory for amrr structure\n");
-                return (NULL);
-        }
 
         iwp_amrr_init(amrr);
 
         return (&amrr->in);
 }