Skip to content

Commit c25b716

Browse files
Matthew Wilcox (Oracle)danvet
authored andcommitted
fbtft: Remove access to page->index
There is no need to print out page->index as part of the debug message. Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: Lorenzo Stoakes <[email protected]> Signed-off-by: Simona Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 4006be2 commit c25b716

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/staging/fbtft/fbtft-core.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,7 @@ static void fbtft_deferred_io(struct fb_info *info, struct list_head *pagereflis
337337
list_for_each_entry(pageref, pagereflist, list) {
338338
y_low = pageref->offset / info->fix.line_length;
339339
y_high = (pageref->offset + PAGE_SIZE - 1) / info->fix.line_length;
340-
dev_dbg(info->device,
341-
"page->index=%lu y_low=%d y_high=%d\n",
342-
pageref->page->index, y_low, y_high);
340+
dev_dbg(info->device, "y_low=%d y_high=%d\n", y_low, y_high);
343341
if (y_high > info->var.yres - 1)
344342
y_high = info->var.yres - 1;
345343
if (y_low < dirty_lines_start)

0 commit comments

Comments
 (0)