diff options
author | Randy Dunlap <[email protected]> | 2021-09-27 14:56:47 -0700 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2021-10-04 09:49:37 +0200 |
commit | bca2d0428e3d83b1a39ec46033e69fba8624280f (patch) | |
tree | 3ce80aa43403102b02445636eec605a3e0a000c1 /scripts/gdb/linux/tasks.py | |
parent | d340d28a968ec479d0ed3c38ab716ed821d82ad8 (diff) |
s390/sclp_vt220: fix unused function warning
When CONFIG_SCLP_VT220_TTY=y and CONFIG_SCLP_VT220_CONSOLE is not set:
../drivers/s390/char/sclp_vt220.c:771:13: warning: '__sclp_vt220_flush_buffer' defined but not used [-Wunused-function]
771 | static void __sclp_vt220_flush_buffer(void)
so move this function inside the #ifdef block where it is used.
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions