mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
s390/sclp: Remove unused sclp_vt220_buffered_chars variable
allmodconfig with clang W=1 points out an unused global variable: drivers/s390/char/sclp_vt220.c:85:12: error: variable 'sclp_vt220_buffered_chars' set but not used [-Werror,-Wunused-but-set-global] Just remove it. Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
This commit is contained in:
parent
3f90f58eb7
commit
a3211cad56
|
|
@ -81,9 +81,6 @@ static struct timer_list sclp_vt220_timer;
|
|||
* yet sent */
|
||||
static struct sclp_vt220_request *sclp_vt220_current_request;
|
||||
|
||||
/* Number of characters in current request buffer */
|
||||
static int sclp_vt220_buffered_chars;
|
||||
|
||||
/* Counter controlling core driver initialization. */
|
||||
static int __initdata sclp_vt220_init_count;
|
||||
|
||||
|
|
@ -689,7 +686,6 @@ static int __init __sclp_vt220_init(int num_pages)
|
|||
timer_setup(&sclp_vt220_timer, sclp_vt220_timeout, 0);
|
||||
tty_port_init(&sclp_vt220_port);
|
||||
sclp_vt220_current_request = NULL;
|
||||
sclp_vt220_buffered_chars = 0;
|
||||
sclp_vt220_flush_later = 0;
|
||||
|
||||
/* Allocate pages for output buffering */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user