summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-02-27 01:04:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-27 10:17:33 +0100
commitea92110bc048848967bd2a046675a006005c4f06 (patch)
tree204a49d7b2db7af24bb3b3aee3138ef3a9f7b59d /drivers/usb
parentLinux 4.16-rc3 (diff)
downloadlinux-ea92110bc048848967bd2a046675a006005c4f06.tar.xz
linux-ea92110bc048848967bd2a046675a006005c4f06.zip
console: SisUSB2VGA: Drop dummy con_font_get()
As done in commit: 724ba8b30b04 ("console/dummy: leave .con_font_get set to NULL") This drops the dummy .con_font_get(), as it could leave arguments uninitialized. Cc: Thomas Winischhofer <thomas@winischhofer.net> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/misc/sisusbvga/sisusb_con.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/misc/sisusbvga/sisusb_con.c b/drivers/usb/misc/sisusbvga/sisusb_con.c
index 73f7bde78e11..998df891bdde 100644
--- a/drivers/usb/misc/sisusbvga/sisusb_con.c
+++ b/drivers/usb/misc/sisusbvga/sisusb_con.c
@@ -1358,7 +1358,6 @@ static const struct consw sisusb_dummy_con = {
.con_switch = SISUSBCONDUMMY,
.con_blank = SISUSBCONDUMMY,
.con_font_set = SISUSBCONDUMMY,
- .con_font_get = SISUSBCONDUMMY,
.con_font_default = SISUSBCONDUMMY,
.con_font_copy = SISUSBCONDUMMY,
};