Print this page
6659 nvlist_free(NULL) is a no-op

*** 69,79 **** SVE_STE_CLASS, component, attr_list, NULL, DDI_SLEEP); else if (strcmp(driver_name, "ii") == 0) rc = ddi_log_sysevent(info_dip, DDI_VENDOR_SUNW, SVE_II_CLASS, component, attr_list, NULL, DDI_SLEEP); out: - if (attr_list) nvlist_free(attr_list); if (rc != 0) { cmn_err(CE_WARN, "!%s: unable to log sysevent %d:%s and %d", driver_name, errorno, trap_messages, alertlevel); --- 69,78 ----