Commit abd530de authored by Jiri Slaby's avatar Jiri Slaby Committed by Greg Kroah-Hartman

tty: vt, remove unused vc_deccolm

vc_deccolm is only set and never read, remove the member from vc_data.
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f8b0c2e6
...@@ -1482,7 +1482,6 @@ static void set_mode(struct vc_data *vc, int on_off) ...@@ -1482,7 +1482,6 @@ static void set_mode(struct vc_data *vc, int on_off)
clr_kbd(vc, decckm); clr_kbd(vc, decckm);
break; break;
case 3: /* 80/132 mode switch unimplemented */ case 3: /* 80/132 mode switch unimplemented */
vc->vc_deccolm = on_off;
#if 0 #if 0
vc_resize(deccolm ? 132 : 80, vc->vc_rows); vc_resize(deccolm ? 132 : 80, vc->vc_rows);
/* this alone does not suffice; some user mode /* this alone does not suffice; some user mode
......
...@@ -106,7 +106,6 @@ struct vc_data { ...@@ -106,7 +106,6 @@ struct vc_data {
unsigned int vc_decawm : 1; /* Autowrap Mode */ unsigned int vc_decawm : 1; /* Autowrap Mode */
unsigned int vc_deccm : 1; /* Cursor Visible */ unsigned int vc_deccm : 1; /* Cursor Visible */
unsigned int vc_decim : 1; /* Insert Mode */ unsigned int vc_decim : 1; /* Insert Mode */
unsigned int vc_deccolm : 1; /* 80/132 Column Mode */
/* attribute flags */ /* attribute flags */
unsigned int vc_intensity : 2; /* 0=half-bright, 1=normal, 2=bold */ unsigned int vc_intensity : 2; /* 0=half-bright, 1=normal, 2=bold */
unsigned int vc_italic:1; unsigned int vc_italic:1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment