summaryrefslogtreecommitdiffstats
path: root/drivers/video/sis
diff options
context:
space:
mode:
authorWang YanQing <udknight@gmail.com>2014-03-05 23:56:19 +0800
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-03-06 11:29:40 +0200
commit92559977ddf13748fc4a07ac0a2dfa1ff5132cac (patch)
tree5b07393239f26f31b831a85a19f0125746f435f8 /drivers/video/sis
parenta57aa93f44f34ce6e3b3ed0b114d5eea46234aef (diff)
video: fbdev: uvesafb: Remove impossible code path in uvesafb_init_info
Because uvesafb_vbe_init will fail when get zero avaiable modes, and we have checked the return value of uvesafb_vbe_init_mode, so it is impossible to pass NULL as mode into uvesafb_init_info. [ This patch fix warning report by fengguang.wu@intel.com "drivers/video/fbdev/uvesafb.c:1509 uvesafb_init_info() error: we previously assumed 'mode' could be null" ] Signed-off-by: Wang YanQing <udknight@gmail.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/sis')
0 files changed, 0 insertions, 0 deletions