Thread (4 messages) 4 messages, 3 authors, 2021-12-21

Re: [PATCH][next] kernel/sysctl.c: remove unused variable ten_thousand

flat view

From: Nick Desaulniers <ndesaulniers@google.com>
Date: 2021-12-21 22:17:56
Also in: linux-fsdevel, lkml, llvm

On Tue, Dec 21, 2021 at 1:46 PM Luis Chamberlain [off-list ref] wrote:
On Tue, Dec 21, 2021 at 06:45:01PM +0000, Colin Ian King wrote:
quoted
The const variable ten_thousand is not used, it is redundant and can
be removed.

Cleans up clang warning:
kernel/sysctl.c:99:18: warning: unused variable 'ten_thousand' [-Wunused-const-variable]
static const int ten_thousand = 10000;

Fixes: c26da54dc8ca ("printk: move printk sysctl to printk/sysctl.c")
Signed-off-by: Colin Ian King <redacted>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Just double checking; I don't think I've seen someone supply someone
else's Acked by tag in a reply before. Was there some discussion off
thread that I missed? If so, do you mind linking to it?  Was this a
typo, perhaps, and you meant to supply your own Acked by tag? Are
"Luis Chamberlain" and "Andrew Morton" aliases? :^P

-- 
Thanks,
~Nick Desaulniers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help