Commit 5ea8d9d0 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Linus Torvalds

[PATCH] matroxfb: Kill a useless message

No point in spamming the logs with a message about xres rounding.
Signed-off-by: default avatarVille Syrjl <syrjala@sci.fi>
Signed-off-by: default avatarPetr Vandrovec <petr@vandrovec.name>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6c12f305
...@@ -498,10 +498,6 @@ static int matroxfb_pitch_adjust(CPMINFO int xres, int bpp) { ...@@ -498,10 +498,6 @@ static int matroxfb_pitch_adjust(CPMINFO int xres, int bpp) {
} else { } else {
xres_new = matroxfb_test_and_set_rounding(PMINFO xres, bpp); 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; return xres_new;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment