drm/i915/lvds: Remove dead code from failing case
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 13 Feb 2014 18:56:15 +0000 (18:56 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 13 Feb 2014 20:11:15 +0000 (21:11 +0100)
commit7fb4a3a31ffc8c7fa69258e92336ccf78ca5e2b5
treef455b937ba5a7f6c1f95f886c485a539c4484665
parent02f5eebb63ad52c832a81109d68718df6cb1155e
drm/i915/lvds: Remove dead code from failing case

Coverity points out that, if we end up in the 'failed' label, that's
precisely because we couldn't retrieve a fixed mode (ie fixed_mode is
NULL) and then "if (fixed_mode)" is always false.

Remove that dead code.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lvds.c