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, 17 Feb 2023 04:43:49 +0000 (20:43 -0800)
commitc60324fbf05d9b1dd3231f5373d4bf31cc23db07
treebde568a94f720bf6144f79902b1c67d77236ea5f
parentdf225c877d898992740d26250727a16db65c370d
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