[ACT][PATCH 1/3] UBUNTU: SAUCE: ubuntu_ltp_syscalls: drop unneeded pass

Krzysztof Kozlowski krzysztof.kozlowski at canonical.com
Mon Jun 7 15:23:11 UTC 2021


'pass' is meaningful only if function is empty.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
---
 ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py b/ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py
index c4c4450ec78f..5d99195908aa 100644
--- a/ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py
+++ b/ubuntu_ltp_syscalls/ubuntu_ltp_syscalls.py
@@ -72,7 +72,6 @@ class ubuntu_ltp_syscalls(test.test):
             self.series = distro.codename()
         self.flavour = re.split('-\d*-', platform.uname()[2])[-1]
         self.kernel = platform.uname()[2].split('-')[0]
-        pass
 
     # setup
     #
-- 
2.27.0




More information about the kernel-team mailing list