summaryrefslogtreecommitdiffstats
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2018-07-10 10:44:53 +0200
committerPetr Mladek <pmladek@suse.com>2018-07-11 10:38:23 +0200
commitffaa619af1b062d5a37871df6363aa52356007a7 (patch)
tree9a84efa17afc74aeece6d46d0cac653fe9a34ca5 /lib/vsprintf.c
parent8599dc7dec874b137384714bfe3ddbbf5d4a614e (diff)
downloadlinux-stable-ffaa619af1b062d5a37871df6363aa52356007a7.tar.gz
linux-stable-ffaa619af1b062d5a37871df6363aa52356007a7.tar.bz2
linux-stable-ffaa619af1b062d5a37871df6363aa52356007a7.zip
printk: Fix warning about unused suppress_message_printing
suppress_message_printing() is not longer called in console_unlock(). Therefore it is not longer needed with disabled CONFIG_PRINTK. This fixes the warning: kernel/printk/printk.c:2033:13: warning: ‘suppress_message_printing’ defined but not used [-Wunused-function] static bool suppress_message_printing(int level) { return false; } Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reported-by: Arnd Bergmann <arnd@arndb.de> Suggested-by: Maninder Singh <maninder1.s@samsung.com> Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions