From fb120f1652ddebe9062d1eacf87661fff14ee092 Mon Sep 17 00:00:00 2001 From: Jonathan Afek Date: Thu, 23 Jun 2016 20:16:29 +0300 Subject: [PATCH] tests: Remove unused import subprocess Number of files imported subprocess without using anything from subprocess. Signed-off-by: Jonathan Afek --- tests/hwsim/fst_module_aux.py | 1 - tests/hwsim/hwsim_utils.py | 1 - tests/hwsim/test_ap_ft.py | 1 - tests/hwsim/test_ap_hs20.py | 1 - tests/hwsim/test_ap_qosmap.py | 1 - tests/hwsim/test_ap_roam.py | 1 - tests/hwsim/test_cfg80211.py | 1 - tests/hwsim/test_nfc_p2p.py | 1 - tests/hwsim/test_radio_work.py | 1 - tests/hwsim/test_sae.py | 1 - 10 files changed, 10 deletions(-) diff --git a/tests/hwsim/fst_module_aux.py b/tests/hwsim/fst_module_aux.py index 232127905..fa6078871 100644 --- a/tests/hwsim/fst_module_aux.py +++ b/tests/hwsim/fst_module_aux.py @@ -5,7 +5,6 @@ # See README for more details. import logging -import subprocess import os import signal import time diff --git a/tests/hwsim/hwsim_utils.py b/tests/hwsim/hwsim_utils.py index ca59c8363..06df859fc 100644 --- a/tests/hwsim/hwsim_utils.py +++ b/tests/hwsim/hwsim_utils.py @@ -5,7 +5,6 @@ # See README for more details. import os -import subprocess import time import logging logger = logging.getLogger() diff --git a/tests/hwsim/test_ap_ft.py b/tests/hwsim/test_ap_ft.py index 7b2c7f478..ccdefb279 100644 --- a/tests/hwsim/test_ap_ft.py +++ b/tests/hwsim/test_ap_ft.py @@ -7,7 +7,6 @@ import binascii import os import time -import subprocess import logging logger = logging.getLogger() diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 243f6cb5d..521422bc6 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -8,7 +8,6 @@ import base64 import binascii import struct import time -import subprocess import logging logger = logging.getLogger() import os diff --git a/tests/hwsim/test_ap_qosmap.py b/tests/hwsim/test_ap_qosmap.py index 608452181..0030d94b3 100644 --- a/tests/hwsim/test_ap_qosmap.py +++ b/tests/hwsim/test_ap_qosmap.py @@ -5,7 +5,6 @@ # See README for more details. import time -import subprocess import logging logger = logging.getLogger() diff --git a/tests/hwsim/test_ap_roam.py b/tests/hwsim/test_ap_roam.py index cfa5a9de5..89d0d9c01 100644 --- a/tests/hwsim/test_ap_roam.py +++ b/tests/hwsim/test_ap_roam.py @@ -5,7 +5,6 @@ # See README for more details. import time -import subprocess import logging logger = logging.getLogger() diff --git a/tests/hwsim/test_cfg80211.py b/tests/hwsim/test_cfg80211.py index 2162721ac..56d197bc1 100644 --- a/tests/hwsim/test_cfg80211.py +++ b/tests/hwsim/test_cfg80211.py @@ -8,7 +8,6 @@ import logging logger = logging.getLogger() import binascii import os -import subprocess import time import hostapd diff --git a/tests/hwsim/test_nfc_p2p.py b/tests/hwsim/test_nfc_p2p.py index 4425a06cb..24ae0757e 100644 --- a/tests/hwsim/test_nfc_p2p.py +++ b/tests/hwsim/test_nfc_p2p.py @@ -5,7 +5,6 @@ # See README for more details. import time -import subprocess import logging logger = logging.getLogger(__name__) diff --git a/tests/hwsim/test_radio_work.py b/tests/hwsim/test_radio_work.py index 482ffda2d..805d08714 100644 --- a/tests/hwsim/test_radio_work.py +++ b/tests/hwsim/test_radio_work.py @@ -7,7 +7,6 @@ import time import logging logger = logging.getLogger() -import subprocess import hostapd from wpasupplicant import WpaSupplicant diff --git a/tests/hwsim/test_sae.py b/tests/hwsim/test_sae.py index 724d3f474..0dbdd5ddf 100644 --- a/tests/hwsim/test_sae.py +++ b/tests/hwsim/test_sae.py @@ -7,7 +7,6 @@ import binascii import os import time -import subprocess import logging logger = logging.getLogger()