drm/i915/tc: Delete bogus NULL check in intel_ddi_encoder_destroy()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 4 Oct 2021 10:37:37 +0000 (13:37 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Oct 2021 19:23:49 +0000 (22:23 +0300)
commit85bb2f6e1c4b4c63cf8541c8c0167781edb4198f
tree9fea91b493dd39e2474ce20959b94ba04e0108c7
parent7d396cacaea63bafe68d3a84971845c043b7c579
drm/i915/tc: Delete bogus NULL check in intel_ddi_encoder_destroy()

The "digi_port" pointer can't be NULL and we have already dereferenced
it so checking for NULL is not necessary.  Delete the check.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211004103737.GC25015@kili
drivers/gpu/drm/i915/display/intel_ddi.c