Skip to content
Commit 85bb2f6e authored by Dan Carpenter's avatar Dan Carpenter Committed by Ville Syrjälä
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211004103737.GC25015@kili
parent 7d396cac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment