net/bnxt: fix RSS action
[dpdk.git] / drivers / net / mvpp2 / mrvl_qos.c
index dbfc3b5..f43217b 100644 (file)
@@ -301,7 +301,7 @@ get_entry_values(const char *entry, uint8_t *tab,
 }
 
 /**
- * Parse Traffic Class'es mapping configuration.
+ * Parse Traffic Classes mapping configuration.
  *
  * @param file Config file handle.
  * @param port Which port to look for.
@@ -736,7 +736,7 @@ mrvl_get_cfg(const char *key __rte_unused, const char *path, void *extra_args)
 
                /* MRVL_TOK_START_HDR replaces MRVL_TOK_DSA_MODE parameter.
                 * MRVL_TOK_DSA_MODE will be supported for backward
-                * compatibillity.
+                * compatibility.
                 */
                entry = rte_cfgfile_get_entry(file, sec_name,
                                MRVL_TOK_START_HDR);
@@ -945,8 +945,7 @@ setup_tc(struct pp2_ppio_tc_params *param, uint8_t inqs,
        param->num_in_qs = inqs;
 
        /* Release old config if necessary. */
-       if (param->inqs_params)
-               rte_free(param->inqs_params);
+       rte_free(param->inqs_params);
 
        param->inqs_params = inq_params;