From e714efee84fb0fe9b11edc39f0bf6f50992d7641 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Tue, 16 Jan 2024 11:26:27 +0300 Subject: [PATCH] Fix pylint W0613: Unused argument 'arch' --- kernel_hardening_checker/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel_hardening_checker/checks.py b/kernel_hardening_checker/checks.py index e172e96..ece903f 100644 --- a/kernel_hardening_checker/checks.py +++ b/kernel_hardening_checker/checks.py @@ -622,7 +622,7 @@ def normalize_cmdline_options(option, value): # kernel.warn_limit (think about a proper value) # net.ipv4.tcp_syncookies=1 (?) -def add_sysctl_checks(l, arch): +def add_sysctl_checks(l, _arch): # This function may be called with arch=None # Calling the SysctlCheck class constructor: -- 2.31.1