Print this page
10132 smatch fixes for MDB
Reviewed by: Andy Fiddaman <andy@omniosce.org>

@@ -2386,11 +2386,10 @@
                 kmt_defbp_destroy_all();
 
         if (kmt->kmt_trapmap != NULL)
                 mdb_free(kmt->kmt_trapmap, BT_SIZEOFMAP(kmt->kmt_trapmax));
 
-        if (kmt != NULL)
                 mdb_free(kmt, sizeof (kmt_data_t));
 }
 
 static const mdb_tgt_ops_t kmt_ops = {
         kmt_setflags,                           /* t_setflags */