mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
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>
This commit is contained in:
parent
c900dc6858
commit
93686f6b01
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user