drm: eliminate old_fb from drm_crtc_helper_set_config
authorIlija Hadzic <ihadzic@research.bell-labs.com>
Tue, 29 Oct 2013 15:09:42 +0000 (11:09 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Nov 2013 04:27:50 +0000 (14:27 +1000)
commitbec2eac3a4f987a1268dd1ec9a864349879082ef
treed90860bd3d34fc32d122237ed7a13808b28176e5
parentfc50a890dfbec975386412fff1193200f270c66c
drm: eliminate old_fb from drm_crtc_helper_set_config

Old framebuffer is stored in save_set.fb and it is
the same value that is later stored in old_fb.
This makes old_fb redundant so we can replace
it with save_set.fb.

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c