Removing connector iterator macro (for_each_connector_on_encoder) as it is only used once and changing the function to use macros currently present. --v2 -removing bogus indentation [Ville] -changing found_connector to intel_connector struct and returning that bypassing a check [Ville] Suraj Kandpal (1): drm/i915: Removing 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