]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lib/stackdepot: lower the indentation in stack_depot_init
authorAndrey Konovalov <andreyknvl@google.com>
Fri, 10 Feb 2023 21:15:54 +0000 (22:15 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 10 Feb 2023 23:36:11 +0000 (15:36 -0800)
commit70f7a50ab7460dfdbd33f323f856964810241390
tree8bd4b4fe0b93a175a6ac057f4fd38049477a853b
parent9b2b9d7b1643ebc870e019717bad7d4462b0ece3
lib/stackdepot: lower the indentation in stack_depot_init

stack_depot_init does most things inside an if check. Move them out and
use a goto statement instead.

No functional changes.

Link: https://lkml.kernel.org/r/8e382f1f0c352e4b2ad47326fec7782af961fe8e.1676063693.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/stackdepot.c