Remove connector iterator macro (for_each_connector_on_encoder) as it is only used once and changing the function to use macros currently present. --v2 -remove bogus indentation [Ville] -change found_connector to intel_connector struct and return that, bypassing a check [Ville] --v3 -use a imperative mood in subject and commit message [Jani] Suraj Kandpal (1): drm/i915: Remove one use macro drivers/gpu/drm/i915/display/intel_display.h | 4 ---- .../gpu/drm/i915/display/intel_modeset_setup.c | 16 ++++++++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) -- 2.25.1