s390/sclp: remove orphaned sclp_set_columns and sclp_set_htab
authorVasily Gorbik <gor@linux.ibm.com>
Fri, 25 Sep 2020 22:38:41 +0000 (00:38 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 30 Sep 2020 10:09:54 +0000 (12:09 +0200)
sclp_set_columns and sclp_set_htab are leftovers since commit 095761d28ae4
("[S390] sclp_tty: remove ioctl interface."), remove them as a dead code.

Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/char/sclp_rw.c
drivers/s390/char/sclp_rw.h

index 44594a4925538881245aa585b54097d41c2f6721..d6c84e354df5b88f083a6c7f3f1773fc2b51f32e 100644 (file)
@@ -336,24 +336,6 @@ sclp_chars_in_buffer(struct sclp_buffer *buffer)
        return count;
 }
 
-/*
- * sets or provides some values that influence the drivers behaviour
- */
-void
-sclp_set_columns(struct sclp_buffer *buffer, unsigned short columns)
-{
-       buffer->columns = columns;
-       if (buffer->current_line != NULL &&
-           buffer->current_length > buffer->columns)
-               sclp_finalize_mto(buffer);
-}
-
-void
-sclp_set_htab(struct sclp_buffer *buffer, unsigned short htab)
-{
-       buffer->htab = htab;
-}
-
 /*
  * called by sclp_console_init and/or sclp_tty_init
  */
index a2eb22f67393f76650d68b484a9dd3411149424f..93d706e4935ce4e316119ee60e9324687467cae4 100644 (file)
@@ -86,8 +86,6 @@ void *sclp_unmake_buffer(struct sclp_buffer *);
 int sclp_buffer_space(struct sclp_buffer *);
 int sclp_write(struct sclp_buffer *buffer, const unsigned char *, int);
 int sclp_emit_buffer(struct sclp_buffer *,void (*)(struct sclp_buffer *,int));
-void sclp_set_columns(struct sclp_buffer *, unsigned short);
-void sclp_set_htab(struct sclp_buffer *, unsigned short);
 int sclp_chars_in_buffer(struct sclp_buffer *);
 
 #ifdef CONFIG_SCLP_CONSOLE