fbcon: Remove obsolete reference to initmem_freed
initmem_freed was removed in v2.1.124, and the underlying issue was fixed for good in commit 92b004d1aa9f367c ("video/logo: prevent use of logos after they have been freed"). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/b8b9147a48e233fe32e072f2085c7b413cd92a00.1654702835.git.geert+renesas@glider.be
This commit is contained in:
parent
faa406f423
commit
514c62048b
@ -2182,7 +2182,6 @@ static int fbcon_switch(struct vc_data *vc)
|
|||||||
if (logo_shown == FBCON_LOGO_DRAW) {
|
if (logo_shown == FBCON_LOGO_DRAW) {
|
||||||
|
|
||||||
logo_shown = fg_console;
|
logo_shown = fg_console;
|
||||||
/* This is protected above by initmem_freed */
|
|
||||||
fb_show_logo(info, ops->rotate);
|
fb_show_logo(info, ops->rotate);
|
||||||
update_region(vc,
|
update_region(vc,
|
||||||
vc->vc_origin + vc->vc_size_row * vc->vc_top,
|
vc->vc_origin + vc->vc_size_row * vc->vc_top,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user