From: Ville Syrjälä Date: Mon, 7 Nov 2005 09:00:59 +0000 (-0800) Subject: [PATCH] matroxfb: Kill a useless message X-Git-Tag: v2.6.16.28-rc1~3277 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5ea8d9d0384761251db10ecce7618f84b67d50d4;p=karo-tx-linux.git [PATCH] matroxfb: Kill a useless message No point in spamming the logs with a message about xres rounding. Signed-off-by: Ville Syrjälä Signed-off-by: Petr Vandrovec Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/matrox/matroxfb_base.c b/drivers/video/matrox/matroxfb_base.c index a780bb30ffc0..1e74f4cca53b 100644 --- a/drivers/video/matrox/matroxfb_base.c +++ b/drivers/video/matrox/matroxfb_base.c @@ -498,10 +498,6 @@ static int matroxfb_pitch_adjust(CPMINFO int xres, int bpp) { } else { xres_new = matroxfb_test_and_set_rounding(PMINFO xres, bpp); } - if (!xres_new) return 0; - if (xres != xres_new) { - printk(KERN_INFO "matroxfb: cannot set xres to %d, rounded up to %d\n", xres, xres_new); - } return xres_new; }