From: Liu Ying Date: Thu, 19 Jun 2014 08:01:44 +0000 (+0800) Subject: drm/fb-helper: Remove unnecessary list empty check in drm_fb_helper_debug_enter() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~88^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a8c6edfd2a888085ae0ddaf6c3ea3f529fdc4e8;p=pandora-kernel.git drm/fb-helper: Remove unnecessary list empty check in drm_fb_helper_debug_enter() The following list empty check is unnecessary because we would still do nothing real and return 'val' if my_list is empty. if (list_empty(&my_list)) return val; list_for_each_entry(pos, &my_list, member) { ... } return val; This patch removes the unnecessary check in drm_fb_helper_debug_enter(). Signed-off-by: Liu Ying Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed