Print this page
patch tsoome-feedback

@@ -480,11 +480,10 @@
         dimm = gmem_find_dimm_fru(hdl, sn);
         if (dimm == NULL) {
                 fmd_hdl_debug(hdl, "Dimm sn=%s is not present\n", sn);
                 return (0);
         }
-        if (dimm != NULL)
                 nvlist_free(dimm);
         return (1);
 }
 
 static int