projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39868bd
)
drm: remove redundant if statement
author
Ilija Hadzic
<ihadzic@research.bell-labs.com>
Tue, 29 Oct 2013 15:09:41 +0000
(11:09 -0400)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 6 Nov 2013 04:27:49 +0000
(14:27 +1000)
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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_crtc_helper.c
b/drivers/gpu/drm/drm_crtc_helper.c
index
305b4cd
..
866dcfc
100644
(file)
--- a/
drivers/gpu/drm/drm_crtc_helper.c
+++ b/
drivers/gpu/drm/drm_crtc_helper.c
@@
-822,8
+822,7
@@
int drm_crtc_helper_set_config(struct drm_mode_set *set)
set->crtc->y = set->y;
old_fb = set->crtc->fb;
- if (set->crtc->fb != set->fb)
- set->crtc->fb = set->fb;
+ set->crtc->fb = set->fb;
ret = crtc_funcs->mode_set_base(set->crtc,
set->x, set->y, old_fb);
if (ret != 0) {