psi_enable is not used outside of psi.c, make it static.
Unified · Split
| @@ -140,9 +140,9 @@ static int psi_bug __read_mostly; · 139 unmodified lines | |||
| 140 | DEFINE_STATIC_KEY_FALSE(psi_disabled); | 140 | DEFINE_STATIC_KEY_FALSE(psi_disabled); |
| 141 | 141 | ||
| 142 | #ifdef CONFIG_PSI_DEFAULT_DISABLED | 142 | #ifdef CONFIG_PSI_DEFAULT_DISABLED |
| 143 | bool psi_enable; | 143 | static bool psi_enable; |
| 144 | #else | 144 | #else |
| 145 | bool psi_enable = true; | 145 | static bool psi_enable = true; |
| 146 | #endif | 146 | #endif |
| 147 | static int __init setup_psi(char *str) | 147 | static int __init setup_psi(char *str) |
| 148 | { | 148 | { |