# \[PATCH 4/5\] matroxfb: Kill a useless message

- From: syrjala@sci.fi
- Date: 2005-10-31 22:12:29 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2005/10/13455626
- Thread: https://ratatoskr.run/linux-fbdev/2005/10/13455626/t.md

```text
No point in spamming the logs with a message about xres rounding.

Signed-off-by: Ville Syrjälä <syrjala@sci.fi>
---

 matroxfb_base.c |    4 ----
 1 file changed, 4 deletions(-)

diff -uprN linux-2.6.14-3/drivers/video/matrox/matroxfb_base.c linux-2.6.14-4/drivers/video/matrox/matroxfb_base.c
--- linux-2.6.14-3/drivers/video/matrox/matroxfb_base.c	2005-10-31 19:40:02.000000000 +0200
+++ linux-2.6.14-4/drivers/video/matrox/matroxfb_base.c	2005-10-31 19:41:50.000000000 +0200
@@ -498,10 +498,6 @@ static int matroxfb_pitch_adjust(CPMINFO
 	} 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;
 }
 



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
```
