From: Jiri Slaby (SUSE) Date: Wed, 12 Jul 2023 08:59:39 +0000 (+0200) Subject: vgacon: let vgacon_doresize() return void X-Git-Tag: v6.5-rc3~16^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93686f6b01df3e904569ee7265ee181d859b201d;p=thirdparty%2Fkernel%2Flinux.git vgacon: let vgacon_doresize() return void The return value is neither used, nor vgacon_doresize() returns an error. So change the reurn type to void. Signed-off-by: "Jiri Slaby (SUSE)" Cc: Helge Deller Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Helge Deller --- diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index 7cb15851ea566..07f6b97d9b81c 100644 --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c @@ -528,7 +528,7 @@ static void vgacon_cursor(struct vc_data *c, int mode) } } -static int vgacon_doresize(struct vc_data *c, +static void vgacon_doresize(struct vc_data *c, unsigned int width, unsigned int height) { unsigned long flags; @@ -587,7 +587,6 @@ static int vgacon_doresize(struct vc_data *c, } raw_spin_unlock_irqrestore(&vga_lock, flags); - return 0; } static int vgacon_switch(struct vc_data *c)