]> git.baikalelectronics.ru Git - kernel.git/commitdiff
fbcon: Remove obsolete reference to initmem_freed
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 8 Jun 2022 15:41:16 +0000 (17:41 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 8 Jun 2022 16:29:45 +0000 (18:29 +0200)
initmem_freed was removed in v2.1.124, and the underlying issue was
fixed for good in commit a65b279d3ed11df3 ("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
drivers/video/fbdev/core/fbcon.c

index c4e91715ef0063570381b1cac8366f47c9e160f0..d765bbdf19dc7f350062e3273c749003fdfd15eb 100644 (file)
@@ -2182,7 +2182,6 @@ static int fbcon_switch(struct vc_data *vc)
        if (logo_shown == FBCON_LOGO_DRAW) {
 
                logo_shown = fg_console;
-               /* This is protected above by initmem_freed */
                fb_show_logo(info, ops->rotate);
                update_region(vc,
                              vc->vc_origin + vc->vc_size_row * vc->vc_top,