Skip to content

Commit

Permalink
console: SisUSB2VGA: Drop dummy con_font_get()
Browse files Browse the repository at this point in the history
As done in commit:

  724ba8b ("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>
  • Loading branch information
Kees Cook authored and Greg Kroah-Hartman committed Feb 27, 2018
1 parent 4a3928c commit ea92110
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/misc/sisusbvga/sisusb_con.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit ea92110

Please sign in to comment.