projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
468d6a4
)
drm/fsl-dcu: drop unused drm_crtc_index()
author
Stefan Agner
<stefan@agner.ch>
Wed, 26 Sep 2018 20:41:49 +0000
(22:41 +0200)
committer
Stefan Agner
<stefan@agner.ch>
Mon, 1 Oct 2018 19:50:43 +0000
(21:50 +0200)
The result of drm_crtc_index() is unused. Remove the call and
the unused variable.
Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
https://patchwork.freedesktop.org/patch/msgid/20180926204150.29829-1-stefan@agner.ch
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c
b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c
index 0e3752437e44fd822e91949db7c234e9889c30c1..05d1c9977395342c47021d27aec81a6a13affa9e 100644
(file)
--- a/
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c
+++ b/
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c
@@
-85,9
+85,8
@@
static void fsl_dcu_drm_crtc_mode_set_nofb(struct drm_crtc *crtc)
struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;
struct drm_connector *con = &fsl_dev->connector.base;
struct drm_display_mode *mode = &crtc->state->mode;
- unsigned int hbp, hfp, hsw, vbp, vfp, vsw,
index,
pol = 0;
+ unsigned int hbp, hfp, hsw, vbp, vfp, vsw, pol = 0;
- index = drm_crtc_index(crtc);
clk_set_rate(fsl_dev->pix_clk, mode->clock * 1000);
/* Configure timings: */