summaryrefslogtreecommitdiff
path: root/usertools
diff options
context:
space:
mode:
Diffstat (limited to 'usertools')
-rwxr-xr-xusertools/dpdk-devbind.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py
index 2d99e9d..79e7e89 100755
--- a/usertools/dpdk-devbind.py
+++ b/usertools/dpdk-devbind.py
@@ -354,8 +354,7 @@ def device_type_match(dev, devices_type):
# count must be the number of non None parameters to match
if match_count == param_count:
return True
- else:
- return False
+ return False
def dev_id_from_dev_name(dev_name):
'''Take a device "name" - a string passed in by user to identify a NIC