Skip to content

Commit 933ab3a

Browse files
Jiri Slaby (SUSE)hdeller
authored andcommitted
fbcon: remove unused display (p) from fbcon_redraw()
The parameter is unused. Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Helge Deller <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Helge Deller <[email protected]>
1 parent 4f2ba39 commit 933ab3a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

drivers/video/fbdev/core/fbcon.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,8 +1612,7 @@ static void fbcon_redraw_blit(struct vc_data *vc, struct fb_info *info,
16121612
}
16131613
}
16141614

1615-
static void fbcon_redraw(struct vc_data *vc, struct fbcon_display *p,
1616-
int line, int count, int offset)
1615+
static void fbcon_redraw(struct vc_data *vc, int line, int count, int offset)
16171616
{
16181617
unsigned short *d = (unsigned short *)
16191618
(vc->vc_origin + vc->vc_size_row * line);
@@ -1827,7 +1826,7 @@ static bool fbcon_scroll(struct vc_data *vc, unsigned int t, unsigned int b,
18271826

18281827
case SCROLL_REDRAW:
18291828
redraw_up:
1830-
fbcon_redraw(vc, p, t, b - t - count,
1829+
fbcon_redraw(vc, t, b - t - count,
18311830
count * vc->vc_cols);
18321831
fbcon_clear(vc, b - count, 0, count, vc->vc_cols);
18331832
scr_memsetw((unsigned short *) (vc->vc_origin +
@@ -1913,7 +1912,7 @@ static bool fbcon_scroll(struct vc_data *vc, unsigned int t, unsigned int b,
19131912

19141913
case SCROLL_REDRAW:
19151914
redraw_down:
1916-
fbcon_redraw(vc, p, b - 1, b - t - count,
1915+
fbcon_redraw(vc, b - 1, b - t - count,
19171916
-count * vc->vc_cols);
19181917
fbcon_clear(vc, t, 0, count, vc->vc_cols);
19191918
scr_memsetw((unsigned short *) (vc->vc_origin +

0 commit comments

Comments
 (0)