port: support packet mirroring
[dpdk.git] / drivers / regex / cn9k / cn9k_regexdev_compiler.c
index 935b8a5..60f1c1b 100644 (file)
@@ -214,8 +214,7 @@ free_structs:
        rxp_free_structs(NULL, NULL, NULL, NULL, NULL, &rof, NULL, &rofi, NULL,
                        1);
 
-       if (rule_db)
-               rte_free(rule_db);
+       rte_free(rule_db);
 
        return ret;
 }