[ACT][PATCH 3/3] UBUNTU: SAUCE: ubuntu_ltp: no need for pass in regular function
Krzysztof Kozlowski
krzysztof.kozlowski at canonical.com
Mon Jun 28 07:52:17 UTC 2021
"pass" is needed only for empty blocks.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
---
ubuntu_ltp/ubuntu_ltp.py | 1 -
ubuntu_ltp_stable/ubuntu_ltp_stable.py | 1 -
2 files changed, 2 deletions(-)
diff --git a/ubuntu_ltp/ubuntu_ltp.py b/ubuntu_ltp/ubuntu_ltp.py
index 9d0f96d4730c..8f4beee5dbba 100644
--- a/ubuntu_ltp/ubuntu_ltp.py
+++ b/ubuntu_ltp/ubuntu_ltp.py
@@ -84,7 +84,6 @@ class ubuntu_ltp(test.test):
def initialize(self):
self.flavour = re.split('-\d*-', platform.uname()[2])[-1]
self.arch = platform.processor()
- pass
# setup
#
diff --git a/ubuntu_ltp_stable/ubuntu_ltp_stable.py b/ubuntu_ltp_stable/ubuntu_ltp_stable.py
index 591cc70d2320..bbc2b2418fd6 100644
--- a/ubuntu_ltp_stable/ubuntu_ltp_stable.py
+++ b/ubuntu_ltp_stable/ubuntu_ltp_stable.py
@@ -54,7 +54,6 @@ class ubuntu_ltp_stable(test.test):
def initialize(self):
self.flavour = re.split('-\d*-', platform.uname()[2])[-1]
self.arch = platform.processor()
- pass
# setup
#
--
2.27.0
More information about the kernel-team
mailing list