From: Alexander Popov Date: Tue, 16 Jan 2024 08:26:27 +0000 (+0300) Subject: Fix pylint W0613: Unused argument 'arch' X-Git-Tag: v0.6.6~12 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=e714efee84fb0fe9b11edc39f0bf6f50992d7641;p=kconfig-hardened-check.git Fix pylint W0613: Unused argument 'arch' --- 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: