Skip to content

Commit 93686f6

Browse files
Jiri Slaby (SUSE)hdeller
authored andcommitted
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)" <[email protected]> Cc: Helge Deller <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Helge Deller <[email protected]>
1 parent c900dc6 commit 93686f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/video/console/vgacon.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ static void vgacon_cursor(struct vc_data *c, int mode)
528528
}
529529
}
530530

531-
static int vgacon_doresize(struct vc_data *c,
531+
static void vgacon_doresize(struct vc_data *c,
532532
unsigned int width, unsigned int height)
533533
{
534534
unsigned long flags;
@@ -587,7 +587,6 @@ static int vgacon_doresize(struct vc_data *c,
587587
}
588588

589589
raw_spin_unlock_irqrestore(&vga_lock, flags);
590-
return 0;
591590
}
592591

593592
static int vgacon_switch(struct vc_data *c)

0 commit comments

Comments
 (0)