Fix pylint W0613: Unused argument 'arch'
authorAlexander Popov <alex.popov@linux.com>
Tue, 16 Jan 2024 08:26:27 +0000 (11:26 +0300)
committerAlexander Popov <alex.popov@linux.com>
Tue, 16 Jan 2024 08:26:27 +0000 (11:26 +0300)
kernel_hardening_checker/checks.py

index e172e96796b90a2cdbbd27f1efcf190a86b21d07..ece903f7eb5d1f17df93ae94cbb7d362944e90ea 100644 (file)
@@ -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: