drm/radeon|amdgpu: Remove redundant num_connectors check
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 Dec 2016 23:08:04 +0000 (00:08 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 18 Dec 2016 13:18:12 +0000 (14:18 +0100)
commit2babdc850cc4f58753b7fb5332a57b513e3313cb
treead3764a4ba1b43f2cc60d01b23f3b4dc76391eb5
parent5bc9cb4dfbe8fcae02f8421e3102c78681f53b8c
drm/radeon|amdgpu: Remove redundant num_connectors check

The list walk will shortcircuit anyway.

Cc: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161213230814.19598-4-daniel.vetter@ffwll.ch
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
drivers/gpu/drm/radeon/radeon_irq_kms.c