From: Wang YanQing Date: Wed, 5 Mar 2014 15:54:18 +0000 (+0800) Subject: video: fbdev: uvesafb: Remove redundant NULL check in uvesafb_remove X-Git-Tag: v3.15-rc1~63^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a57aa93f44f34ce6e3b3ed0b114d5eea46234aef;p=pandora-kernel.git video: fbdev: uvesafb: Remove redundant NULL check in uvesafb_remove Because uvesafb_par is allocated as part of fb_info in uvesafb_probe, so we don't need to do NULL check for both fb_info and uvesafb_par in uvesafb_remove. [ This patch also fix a warning report by fengguang.wu@intel.com "drivers/video/fbdev/uvesafb.c:1815 uvesafb_remove() warn: variable dereferenced before check 'par'" ] Signed-off-by: Wang YanQing Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed