summaryrefslogtreecommitdiff
path: root/net/key
diff options
context:
space:
mode:
authorVincenzo Palazzo <vincenzopalazzodev@gmail.com>2023-03-11 01:18:51 +0300
committerJakub Kicinski <kuba@kernel.org>2023-03-14 01:59:20 +0300
commitad4bf5f2406f6a2e29266bbad74e18f0d955ac4c (patch)
tree8fdf002180a58759373d66469f10aad8dba55516 /net/key
parentc5a8027de26e1b7c0ba4f8e430165b6a4a29a869 (diff)
downloadlinux-ad4bf5f2406f6a2e29266bbad74e18f0d955ac4c.tar.xz
net: socket: suppress unused warning
suppress unused warnings and fix the error that there is with the W=1 enabled. Warning generated net/socket.c: In function ‘__sys_getsockopt’: net/socket.c:2300:13: error: variable ‘max_optlen’ set but not used [-Werror=unused-but-set-variable] 2300 | int max_optlen; Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://lore.kernel.org/r/20230310221851.304657-1-vincenzopalazzodev@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions