From: Wang YanQing Date: Wed, 5 Mar 2014 15:56:19 +0000 (+0800) Subject: video: fbdev: uvesafb: Remove impossible code path in uvesafb_init_info X-Git-Tag: v3.15-rc1~63^2~16 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92559977ddf13748fc4a07ac0a2dfa1ff5132cac;p=pandora-kernel.git 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 Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed