git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx5: fix meter creation default state
[dpdk.git]
/
drivers
/
bus
/
pci
/
pci_params.c
diff --git
a/drivers/bus/pci/pci_params.c
b/drivers/bus/pci/pci_params.c
index
60b424b
..
61a8687
100644
(file)
--- a/
drivers/bus/pci/pci_params.c
+++ b/
drivers/bus/pci/pci_params.c
@@
-117,8
+117,7
@@
rte_pci_devargs_parse(struct rte_devargs *da)
rte_pci_device_name(&addr, da->name, sizeof(da->name));
out:
- if (kvargs != NULL)
- rte_kvargs_free(kvargs);
+ rte_kvargs_free(kvargs);
if (ret != 0)
rte_errno = -ret;
return ret;