diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py index 5c1cd35487..4791e5f48d 100755 --- a/usertools/dpdk-devbind.py +++ b/usertools/dpdk-devbind.py @@ -216,6 +216,7 @@ def get_pci_device_details(dev_id, probe_lspci): def clear_data(): '''This function clears any old data''' + global devices devices = {} def get_device_details(devices_type):