aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/sti/sti_crtc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/sti/sti_crtc.c b/drivers/gpu/drm/sti/sti_crtc.c
index 61c2379fba87..ed76e52eb213 100644
--- a/drivers/gpu/drm/sti/sti_crtc.c
+++ b/drivers/gpu/drm/sti/sti_crtc.c
@@ -252,10 +252,8 @@ int sti_crtc_vblank_cb(struct notifier_block *nb,
252 struct sti_compositor *compo; 252 struct sti_compositor *compo;
253 struct drm_crtc *crtc = data; 253 struct drm_crtc *crtc = data;
254 struct sti_mixer *mixer; 254 struct sti_mixer *mixer;
255 struct sti_private *priv;
256 unsigned int pipe; 255 unsigned int pipe;
257 256
258 priv = crtc->dev->dev_private;
259 pipe = drm_crtc_index(crtc); 257 pipe = drm_crtc_index(crtc);
260 compo = container_of(nb, struct sti_compositor, vtg_vblank_nb[pipe]); 258 compo = container_of(nb, struct sti_compositor, vtg_vblank_nb[pipe]);
261 mixer = compo->mixer[pipe]; 259 mixer = compo->mixer[pipe];