drm: Remove redundant code in the getencoder ioctl
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Feb 2015 16:52:05 +0000 (17:52 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Mar 2015 08:59:30 +0000 (09:59 +0100)
commit844285317c90910ab6e467b358df697f70e21417
tree73158e038b20fab6626e06dcc0aafb11b0d512f5
parent3a656b54c8433ada6dd7ee6227854c48682d5e4d
drm: Remove redundant code in the getencoder ioctl

When enabling atomic state object for this ioctl in

commit abd69c55dd8f1f71b33b8c6165217f4329db8f25
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Nov 25 23:50:05 2014 +0100

    drm: Handle atomic state properly in kms getfoo ioctl

I've forgotten to remove this hunk in one of the later revisions.
drm_encoder_get_crtc already does this.

Cc: Rob Clark <robdclark@gmail.com>
Cc: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/drm_crtc.c