drm/i915/ddi: Remove redundant intel_connector NULL check
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 6 Oct 2023 07:28:31 +0000 (12:58 +0530)
committerAndi Shyti <andi.shyti@linux.intel.com>
Sat, 7 Oct 2023 06:08:49 +0000 (08:08 +0200)
commit3385375be6f22fae409eec80284be4f9eabf752a
treec098e0c61e6519163c3d328baaf4d3df3217f6ba
parentae2b1c380ef1ce716c38630849e68265b8fdce8c
drm/i915/ddi: Remove redundant intel_connector NULL check

Remove redundant intel_connector NULL check. Having it here just
creates further confusion and also the variable already gets
dereferenced before the aforementioned NULL check

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231006072830.581487-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c