Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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)" <jirislaby@kernel.org>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-fbdev@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Jiri Slaby (SUSE) and committed by
Helge Deller
93686f6b c900dc68

+1 -2
+1 -2
drivers/video/console/vgacon.c
··· 528 528 } 529 529 } 530 530 531 - static int vgacon_doresize(struct vc_data *c, 531 + static void vgacon_doresize(struct vc_data *c, 532 532 unsigned int width, unsigned int height) 533 533 { 534 534 unsigned long flags; ··· 587 587 } 588 588 589 589 raw_spin_unlock_irqrestore(&vga_lock, flags); 590 - return 0; 591 590 } 592 591 593 592 static int vgacon_switch(struct vc_data *c)