mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <ahmad@a3f.at>
To: barebox@lists.infradead.org
Subject: [PATCH] video: sdl: delete useless debug output
Date: Tue, 29 Dec 2020 13:34:33 +0100	[thread overview]
Message-ID: <20201229123433.1054113-1-ahmad@a3f.at> (raw)

The information on the color mode is only populated at framebuffer
enable time. At probe time, it's all zero, so it's useless to print it
out. Drop it.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 drivers/video/sdl.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/video/sdl.c b/drivers/video/sdl.c
index 8f5b409efb4a..9811b2cf128e 100644
--- a/drivers/video/sdl.c
+++ b/drivers/video/sdl.c
@@ -59,15 +59,6 @@ static int sdlfb_probe(struct device_d *dev)
 	fb->screen_base = xzalloc(fb->xres * fb->yres *
 				  fb->bits_per_pixel >> 3);
 
-	dev_dbg(dev, "red: length = %d, offset = %d\n",
-		fb->red.length, fb->red.offset);
-	dev_dbg(dev, "green: length = %d, offset = %d\n",
-		fb->green.length, fb->green.offset);
-	dev_dbg(dev, "blue: length = %d, offset = %d\n",
-		fb->blue.length, fb->blue.offset);
-	dev_dbg(dev, "transp: length = %d, offset = %d\n",
-		fb->transp.length, fb->transp.offset);
-
 	/* add runtime hardware info */
 	dev->priv = fb;
 
-- 
2.29.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2020-12-29 12:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29 12:34 Ahmad Fatoum [this message]
2021-01-05 13:36 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201229123433.1054113-1-ahmad@a3f.at \
    --to=ahmad@a3f.at \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox