diff options
author | Thomas Gleixner | 2022-09-24 02:10:37 +0206 |
---|---|---|
committer | Petr Mladek | 2022-09-29 15:20:22 +0200 |
commit | c60ba2d34608dc6e224440267ed392adf65e05f2 (patch) | |
tree | 87a4a7c50ea760a5d55de6c3e1b14c8307e2bd22 /include/linux/printk.h | |
parent | 9023ca0866250d268b047f21e1392e7a81277a54 (diff) |
printk: Make pr_flush() static
No user outside the printk code and no reason to export this.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20220924000454.3319186-2-john.ogness@linutronix.de
Diffstat (limited to 'include/linux/printk.h')
-rw-r--r-- | include/linux/printk.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/printk.h b/include/linux/printk.h index 091fba7283e1..b70a42f94031 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -170,8 +170,6 @@ extern void __printk_safe_exit(void); #define printk_deferred_enter __printk_safe_enter #define printk_deferred_exit __printk_safe_exit -extern bool pr_flush(int timeout_ms, bool reset_on_progress); - /* * Please don't use printk_ratelimit(), because it shares ratelimiting state * with all other unrelated printk_ratelimit() callsites. Instead use @@ -222,11 +220,6 @@ static inline void printk_deferred_exit(void) { } -static inline bool pr_flush(int timeout_ms, bool reset_on_progress) -{ - return true; -} - static inline int printk_ratelimit(void) { return 0; |