From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kwmVg-0006U9-5M for barebox@lists.infradead.org; Tue, 05 Jan 2021 13:36:28 +0000 Date: Tue, 5 Jan 2021 14:36:26 +0100 Message-ID: <20210105133626.GG19063@pengutronix.de> References: <20201229123433.1054113-1-ahmad@a3f.at> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201229123433.1054113-1-ahmad@a3f.at> From: Sascha Hauer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] video: sdl: delete useless debug output To: Ahmad Fatoum Cc: barebox@lists.infradead.org On Tue, Dec 29, 2020 at 01:34:33PM +0100, Ahmad Fatoum wrote: > 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 > --- > drivers/video/sdl.c | 9 --------- > 1 file changed, 9 deletions(-) Applied, thanks Sascha > > 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 > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox