summaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgbe/mps_tcam.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgbe/mps_tcam.c')
-rw-r--r--drivers/net/cxgbe/mps_tcam.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/cxgbe/mps_tcam.c b/drivers/net/cxgbe/mps_tcam.c
index 02ec69a9..71c8070b 100644
--- a/drivers/net/cxgbe/mps_tcam.c
+++ b/drivers/net/cxgbe/mps_tcam.c
@@ -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);
- }
}