video: fbdev: fsl-diu-fb: remove impossible condition
authorSachin Shukla <sachin.s5@samsung.com>
Wed, 8 Feb 2017 15:44:00 +0000 (16:44 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 8 Feb 2017 15:44:00 +0000 (16:44 +0100)
commit0704916a4b24b0f5db9e3e8a39e906247a50e30f
treee5b999550ce3560470e3f191a6481ca421c1d26e
parent8018ce3f20c570e1ae75a42d924ee97db8cad82a
video: fbdev: fsl-diu-fb: remove impossible condition

xoffset and yoffset of struct fb_var_screeninfo are unsigned and so
they can never be less than 0.

Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: sachiniiitm@gmail.com
Cc: ravikant.s2@samsung.com
Cc: p.shailesh@samsung.com
Cc: ashish.kalra@samsung.com
Cc: vidushi.koul@samsung.com
Signed-off-by: Sachin Shukla <sachin.s5@samsung.com>
Acked-by: Timur Tabi <timur@tabi.org>
[b.zolnierkie: split from the bigger patch]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/fsl-diu-fb.c