drm/i915/dp: localize link rate index variable more
authorJani Nikula <jani.nikula@intel.com>
Thu, 6 Apr 2017 13:44:15 +0000 (16:44 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 11 Apr 2017 13:54:32 +0000 (16:54 +0300)
commitec990e21d7668e08f6f4bd9b73e9d40d04b04198
tree2dadd99fe6c54b2f19833fd78feaa3a92c4a6625
parent3d65a735d8341830ef8ec57e290ed785b01085a1
drm/i915/dp: localize link rate index variable more

Localize link_rate_index to the if block, and rename to just index to
reduce indent.

Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/d348d990c96705427b93c1cac8c3e4447d06eebf.1491485983.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dp.c