New upstream version 18.11-rc3
[deb_dpdk.git] / drivers / net / cxgbe / mps_tcam.c
index 02ec69a..71c8070 100644 (file)
@@ -236,8 +236,6 @@ struct mpstcam_table *t4_init_mpstcam(struct adapter *adap)
 
 void t4_cleanup_mpstcam(struct adapter *adap)
 {
-       if (adap->mpstcam) {
-               t4_os_free(adap->mpstcam->entry);
+       if (adap->mpstcam)
                t4_os_free(adap->mpstcam);
-       }
 }