This patch fixes the coverity UNUSED_VALUE issue.
Coverity issue: 349938
Fixes:
49d0709b257f ("net/bnxt: delete and flush L2 filters cleanly")
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
filter->filter_type == HWRM_CFA_NTUPLE_FILTER) {
/* Call HWRM to try to free filter again */
rc = bnxt_hwrm_clear_ntuple_filter(bp, filter);
+ if (rc)
+ PMD_DRV_LOG(ERR,
+ "Cannot free ntuple filter: %d\n",
+ rc);
}
filter->fw_ntuple_filter_id = UINT64_MAX;