Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp530048lqh; Thu, 28 Mar 2024 08:45:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUY/J+WDF8uoV8b6KQgzm7aG8Sh+smGhzN0LEIuHbGB7dQHQlBURFckKKFJRIzUfQ8iHJy1SxyyoP9aTizvL1LmYmH97E6nA8sizUzWHw== X-Google-Smtp-Source: AGHT+IEbaN3kp0N3plLSPKB6nACV6GFE+MxievD+YTrhTNfVKQyXCdR50Y8BWaUz9vTM0vnNoL5l X-Received: by 2002:ad4:4421:0:b0:696:b2d4:a253 with SMTP id e1-20020ad44421000000b00696b2d4a253mr3219176qvt.18.1711640713991; Thu, 28 Mar 2024 08:45:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711640713; cv=pass; d=google.com; s=arc-20160816; b=YHzhlfrIEGlQCC5LDu1IOjo2YSyT/s1esJZ9m9AqX+trQnM6A92pOgSznXfWwN9B4c 7EU/+kf5Z8cxDzxhcS2/Iy/W5+S8qoCmuNG0cYFL1qPXJGaUPUmz+OMvUFItpB7S79d8 eJCrvsTvxvKf3S+0X3QZbLWg4i2TZG4ODeWvEYQD9qcnwvs1rFEZFeSaETClLQhi4BJ3 M9Gc/6puhVyU+e7mMUehjnDIkvtkjtt+wzpLYitLwdceq0QGEVMn212HXR0UNDm4sGYV x8DxIM2s13BHmRngZTlNMeaCNO6/TtrT+A1ApuiAVb86JL9qTF/WYe3vapjWN9PqMqJG +ZqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=WFDxUZ7npLkvwczOPkbyBhJjAJJ+257/MLFgPRhg4Ng=; fh=8sEP7PoBw7e4O+S+A/hMUPL5KaSQ94UIL1REULHwRR4=; b=nqRb9Hlujz08xAktWyT/cmvjvrDTdEo3iB17owGpE0ycOLBik8l0z/viSxxlrKSfig hDqti4Xtex2jSdEOZCWBX/QMuRv+9nTIEvu42PqZdjY0KtoLHGnzc2pK+GXac9kkjNbp SV6SdB1HE4asBfKVFCf/x8itI91U3RapYI8Oc0z+rgzVpWV1LG3YOCW8sO62EcgCzT9t xC86E48Vwn7JgVFGkqCSslAdrI3d5sqGW3rZvo+LJRq9l6AmHCj/RxdMDEVkUc24VGNL oW/7F+nfaSmwBGFzNZ4eLtCay18tXAzEUt7bZq1EKNKg6lKsjx/qQbjJIvSDZYPF7HYv O5CQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=blI9ymBL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123177-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id fe6-20020a0562140b8600b00696b2a7181dsi1557803qvb.419.2024.03.28.08.45.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 08:45:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=blI9ymBL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123177-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123177-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B208E1C2E4A8 for ; Thu, 28 Mar 2024 15:45:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EFA341327F7; Thu, 28 Mar 2024 15:44:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="blI9ymBL" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B449012FF88; Thu, 28 Mar 2024 15:44:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711640657; cv=none; b=iuaYlaTkKXIgm9KxbwoDjTdxXS9krzTpTi0alnhRET9r8EO2BE30ASoToeA17oieCoOeOo57YRSWX8J7Xx7ls0NzI/xG1rk797iBMUH6TbuW8FYAE6Pj17iX0oR7jH/glP2bj0GYcypWCyfrodOVzqT63PwDeRvCa1Kk/qy5FT0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711640657; c=relaxed/simple; bh=m54DIObMwh/oz5+MbWMsGWkY8mPKrW5ppEQGy+WuUHE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MuXRyhtecUSoPckY/CWN3oZew14d9WgwGSwZu8gRO1mWaA7r9rRbqtZFIDZqdTwGLwUjxsUZ33SW3DGFQCUdo5mSovuSDxETGSlqnkqntmtbRIkv5vlQ0ZC3tVD5YdZYrF7PC+YW+DVwqvpBfrA6JVts28DV5p/QB7cLWc1iTdk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=blI9ymBL; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 570A2C4167E; Thu, 28 Mar 2024 15:44:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711640657; bh=m54DIObMwh/oz5+MbWMsGWkY8mPKrW5ppEQGy+WuUHE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=blI9ymBLAdeCz65Zk6FER0mdzRf4BJX5XXCfQm+xq0oDX0Kles1Tm7BO2x0eLXc6E z4WuXotOFLuPpzxm/EuKtkcq1sf4l66nOd86iQ1qLEwLo52/Hc3WHIvF9tXtiRuyp7 G4i19vbIOJQ+jyVwJlKqc/RO1Md83z0HjDJ7tUl9pr/pBTVMAE4TgEEjzimybB19N4 gHypPOB5fkcKfdZszZIBjD3OBf2+ALf0ZP/cZRQ8EbcIFG+7LxDp7N/+sJoR5MK7+O e58AioddtRH0bcp6vOJ6wnT7zKVAmmb5R3vnMFMaWVsmDIRLI31K6qRhzBHNZg4+tL nAVEZkfaeHUsA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45913CD1288; Thu, 28 Mar 2024 15:44:17 +0000 (UTC) From: Joel Granados via B4 Relay Date: Thu, 28 Mar 2024 16:44:05 +0100 Subject: [PATCH v3 04/10] timekeeping: Remove the now superfluous sentinel elements from ctl_table array Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240328-jag-sysctl_remove_empty_elem_kernel-v3-4-285d273912fe@samsung.com> References: <20240328-jag-sysctl_remove_empty_elem_kernel-v3-0-285d273912fe@samsung.com> In-Reply-To: <20240328-jag-sysctl_remove_empty_elem_kernel-v3-0-285d273912fe@samsung.com> To: Luis Chamberlain , josh@joshtriplett.org, Kees Cook , Eric Biederman , Iurii Zaikin , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Thomas Gleixner , John Stultz , Stephen Boyd , Andy Lutomirski , Will Drewry , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Petr Mladek , John Ogness , Sergey Senozhatsky , "Naveen N. Rao" , Anil S Keshavamurthy , "David S. Miller" , Balbir Singh , Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa Cc: linux-kernel@vger.kernel.org, kexec@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, bpf@vger.kernel.org, Joel Granados X-Mailer: b4 0.13-dev-2d940 X-Developer-Signature: v=1; a=openpgp-sha256; l=864; i=j.granados@samsung.com; h=from:subject:message-id; bh=lyDve8Ip2KotGee+CC44snEs+zn3osht1uA6DiUuFwM=; b=owJ4nAHtARL+kA0DAAoBupfNUreWQU8ByyZiAGYFkEvKQgW+speYF787yYEHJDVSSH0tynerp 0z73pdqmzw2W4kBswQAAQoAHRYhBK5HCVcl5jElzssnkLqXzVK3lkFPBQJmBZBLAAoJELqXzVK3 lkFPUf0L/2YxDsRniEfrTN5jngDVulSOxiSB4qlNJo3EzgiFbMwGXq7qj0iTqrS6bzM/zQHQelM z6gGiMM/+yQqVBtt6i2wdHtGwRnjt/nOKL92syZf1XmUfb+DsmS3DsDC7HkhkySpWOEQLXPlh/Y vUKou/EVCej3uXWn3Sl9vZCixhu8HctQUpDljEkp3s/xydB+H6sl4c2TLRxDTAPYYbNP9MxMRxK LkPyLkmy7JCPkBw7vwDDId4ex2xU1aj5niZoIT3wH1FjULTg62tRugiLtaGtuoiqklfXBw7gc7q 53t3OF7HpFn26CSo5aJ3mgJZ97lfhYYtS2ji1qpRV9QdPw8k1cgbwYjnMeZvLRecFt7EabhMVOg +mi6NtJgoTt0zZjsuM8IeSGvTk96fszBpJuSQMJeUv+k0PnWx3KTP0gZl6nQNSt0eTxRFAYy67P 5Ugy64D77ah5RGxSUFzdEH9ayB60lVGT8bjRQn/Ix3kzI07osOgMD3M7f6SBTzAbLj7ghOBbLo6 Ww= X-Developer-Key: i=j.granados@samsung.com; a=openpgp; fpr=F1F8E46D30F0F6C4A45FF4465895FAAC338C6E77 X-Endpoint-Received: by B4 Relay for j.granados@samsung.com/default with auth_id=70 X-Original-From: Joel Granados Reply-To: j.granados@samsung.com From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link : https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/) Remove sentinel element from time_sysctl Signed-off-by: Joel Granados --- kernel/time/timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/time/timer.c b/kernel/time/timer.c index dee29f1f5b75..9d107f4b506c 100644 --- a/kernel/time/timer.c +++ b/kernel/time/timer.c @@ -312,7 +312,6 @@ static struct ctl_table timer_sysctl[] = { .extra1 = SYSCTL_ZERO, .extra2 = SYSCTL_ONE, }, - {} }; static int __init timer_sysctl_init(void) -- 2.43.0