Browse Source

[PATCH] matroxfb: Kill a useless message

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

Signed-off-by: Ville Syrjl <syrjala@sci.fi>
Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Ville Syrjl 19 years ago
parent
commit
5ea8d9d038
1 changed files with 0 additions and 4 deletions
  1. 0 4
      drivers/video/matrox/matroxfb_base.c

+ 0 - 4
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;
 }