aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-12-01 12:25:23 -0500
committerEric Anholt <eric@anholt.net>2009-12-01 12:25:23 -0500
commit05dd8f973f895692dd33c95e87c0e69aa0e7a93b (patch)
treea4572a399bb5196f66d02842e2a68ce4f0a4715c
parente9560f7cb20722e0e7db46bbb6f43c2194a238d5 (diff)
drm/i915: Fix warning introduced with the page flipping ioctl.
Signed-off-by: Eric Anholt <eric@anholt.net>
-rw-r--r--drivers/gpu/drm/i915/intel_display.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index b63a25f0f86d..a0f2941d7d7c 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -4253,7 +4253,6 @@ static const struct drm_crtc_funcs intel_crtc_funcs = {
4253static void intel_crtc_init(struct drm_device *dev, int pipe) 4253static void intel_crtc_init(struct drm_device *dev, int pipe)
4254{ 4254{
4255 struct intel_crtc *intel_crtc; 4255 struct intel_crtc *intel_crtc;
4256 struct drm_i915_private *dev_priv = dev->dev_private;
4257 int i; 4256 int i;
4258 4257
4259 intel_crtc = kzalloc(sizeof(struct intel_crtc) + (INTELFB_CONN_LIMIT * sizeof(struct drm_connector *)), GFP_KERNEL); 4258 intel_crtc = kzalloc(sizeof(struct intel_crtc) + (INTELFB_CONN_LIMIT * sizeof(struct drm_connector *)), GFP_KERNEL);