]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
fbtft: Remove access to page->index
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 21 Feb 2025 17:31:29 +0000 (17:31 +0000)
committerSimona Vetter <simona.vetter@ffwll.ch>
Wed, 5 Mar 2025 07:38:21 +0000 (08:38 +0100)
There is no need to print out page->index as part of the debug message.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20250221173131.3470667-1-willy@infradead.org
drivers/staging/fbtft/fbtft-core.c

index 4cfa494243b983fb33a95a3cde7fbfed74b0daff..da9c64152a606dc4a176f5a37fa59f6a7d3a2af3 100644 (file)
@@ -337,9 +337,7 @@ static void fbtft_deferred_io(struct fb_info *info, struct list_head *pagereflis
        list_for_each_entry(pageref, pagereflist, list) {
                y_low = pageref->offset / info->fix.line_length;
                y_high = (pageref->offset + PAGE_SIZE - 1) / info->fix.line_length;
-               dev_dbg(info->device,
-                       "page->index=%lu y_low=%d y_high=%d\n",
-                       pageref->page->index, y_low, y_high);
+               dev_dbg(info->device, "y_low=%d y_high=%d\n", y_low, y_high);
                if (y_high > info->var.yres - 1)
                        y_high = info->var.yres - 1;
                if (y_low < dirty_lines_start)