mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 15:46:42 +07:00
s390/sclp: remove orphaned sclp_set_columns and sclp_set_htab
sclp_set_columns and sclp_set_htab are leftovers since commit 095761d28a
("[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>
This commit is contained in:
parent
f980ec9e34
commit
3372e88b09
@ -336,24 +336,6 @@ sclp_chars_in_buffer(struct sclp_buffer *buffer)
|
|||||||
return count;
|
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
|
* called by sclp_console_init and/or sclp_tty_init
|
||||||
*/
|
*/
|
||||||
|
@ -86,8 +86,6 @@ void *sclp_unmake_buffer(struct sclp_buffer *);
|
|||||||
int sclp_buffer_space(struct sclp_buffer *);
|
int sclp_buffer_space(struct sclp_buffer *);
|
||||||
int sclp_write(struct sclp_buffer *buffer, const unsigned char *, int);
|
int sclp_write(struct sclp_buffer *buffer, const unsigned char *, int);
|
||||||
int sclp_emit_buffer(struct sclp_buffer *,void (*)(struct sclp_buffer *,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 *);
|
int sclp_chars_in_buffer(struct sclp_buffer *);
|
||||||
|
|
||||||
#ifdef CONFIG_SCLP_CONSOLE
|
#ifdef CONFIG_SCLP_CONSOLE
|
||||||
|
Loading…
Reference in New Issue
Block a user