diff options
author | Stephen Kitt <steve@sk2.org> | 2021-02-15 18:08:37 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-23 10:26:04 +0100 |
commit | 0ae798fd96f8c28850e09d22d3f0d455071ed8eb (patch) | |
tree | b6e83663c5eeec5cb39b0c2517dc517b5eac5987 /drivers/video | |
parent | 77124a427749fc0ed63c818d02f18dbf3a9fcd11 (diff) | |
download | linux-stable-0ae798fd96f8c28850e09d22d3f0d455071ed8eb.tar.gz linux-stable-0ae798fd96f8c28850e09d22d3f0d455071ed8eb.tar.bz2 linux-stable-0ae798fd96f8c28850e09d22d3f0d455071ed8eb.zip |
vgacon: drop unused vga_init_done
Commit 973c096f6a85 ("vgacon: remove software scrollback support")
removed all uses of vga_init_done, so let's get rid of it entirely.
Signed-off-by: Stephen Kitt <steve@sk2.org>
Link: https://lore.kernel.org/r/20210215170837.1599706-1-steve@sk2.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/console/vgacon.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index 0d26e821e73b..39258f9d36a0 100644 --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c @@ -79,7 +79,6 @@ static struct uni_pagedir *vgacon_uni_pagedir; static int vgacon_refcount; /* Description of the hardware situation */ -static bool vga_init_done; static unsigned long vga_vram_base __read_mostly; /* Base of video memory */ static unsigned long vga_vram_end __read_mostly; /* End of video memory */ static unsigned int vga_vram_size __read_mostly; /* Size of video memory */ @@ -359,8 +358,6 @@ static const char *vgacon_startup(void) vgacon_xres = screen_info.orig_video_cols * VGA_FONTWIDTH; vgacon_yres = vga_scan_lines; - vga_init_done = true; - return display_desc; } |