Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76c9304a authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

FROMLIST: psi: make psi_enable static



psi_enable is not used outside of psi.c, make it static.

Suggested-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>

(not upstream yet, latest version published at: https://lore.kernel.org/patchwork/patch/1052415/

)

Bug: 127712811
Bug: 129157727
Test: lmkd in PSI mode
Change-Id: I3c422d6c0c4299095c6ba05cfe942a2b00705f29
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
parent 4161b283
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -140,9 +140,9 @@ static int psi_bug __read_mostly;
DEFINE_STATIC_KEY_FALSE(psi_disabled);

#ifdef CONFIG_PSI_DEFAULT_DISABLED
bool psi_enable;
static bool psi_enable;
#else
bool psi_enable = true;
static bool psi_enable = true;
#endif
static int __init setup_psi(char *str)
{