From: Ville Syrjälä Date: Mon, 28 Apr 2014 12:53:25 +0000 (+0300) Subject: drm/i915: Remove useless checks from primary enable/disable X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~56^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10efa9321efe5f62637b189587539e4086726a2b;p=pandora-kernel.git drm/i915: Remove useless checks from primary enable/disable We won't be calling intel_enable_primary_plane() or intel_disable_primary_plane() with the primary plane in the wrong state. So remove the useless DISPLAY_PLANE_ENABLE checks. v2: Convert the checks to WARNs instead (Daniel,Paulo) Signed-off-by: Ville Syrjälä Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed