5253 kmem_alloc/kmem_zalloc won't fail with KM_SLEEP 5254 getrbuf won't fail with KM_SLEEP
@@ -1797,15 +1797,10 @@ iwh_node_alloc(ieee80211com_t *ic) { iwh_amrr_t *amrr; amrr = kmem_zalloc(sizeof (iwh_amrr_t), KM_SLEEP); - if (NULL == amrr) { - cmn_err(CE_WARN, "iwh_node_alloc(): " - "failed to allocate memory for amrr structure\n"); - return (NULL); - } iwh_amrr_init(amrr); return (&amrr->in); }