diff options
Diffstat (limited to 'drivers/video/matrox/matroxfb_base.c')
-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) { | |||
498 | } else { | 498 | } else { |
499 | xres_new = matroxfb_test_and_set_rounding(PMINFO xres, bpp); | 499 | xres_new = matroxfb_test_and_set_rounding(PMINFO xres, bpp); |
500 | } | 500 | } |
501 | if (!xres_new) return 0; | ||
502 | if (xres != xres_new) { | ||
503 | printk(KERN_INFO "matroxfb: cannot set xres to %d, rounded up to %d\n", xres, xres_new); | ||
504 | } | ||
505 | return xres_new; | 501 | return xres_new; |
506 | } | 502 | } |
507 | 503 | ||