diff options
author | Ville Syrjälä <syrjala@sci.fi> | 2005-11-07 01:00:59 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 07:53:54 -0800 |
commit | 5ea8d9d0384761251db10ecce7618f84b67d50d4 (patch) | |
tree | 692280b43b942a0ddda88a780c2dfcee892f921f /drivers/video/matrox | |
parent | 6c12f30554f29069afd485ecd05a1d54c8aece9f (diff) | |
download | linux-stable-5ea8d9d0384761251db10ecce7618f84b67d50d4.tar.gz linux-stable-5ea8d9d0384761251db10ecce7618f84b67d50d4.tar.bz2 linux-stable-5ea8d9d0384761251db10ecce7618f84b67d50d4.zip |
[PATCH] matroxfb: Kill a useless message
No point in spamming the logs with a message about xres rounding.
Signed-off-by: Ville Syrjälä <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>
Diffstat (limited to 'drivers/video/matrox')
-rw-r--r-- | drivers/video/matrox/matroxfb_base.c | 4 |
1 files changed, 0 insertions, 4 deletions
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; } |