Commit 05dd8f97 authored by Eric Anholt's avatar Eric Anholt

drm/i915: Fix warning introduced with the page flipping ioctl.

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent e9560f7c
...@@ -4253,7 +4253,6 @@ static const struct drm_crtc_funcs intel_crtc_funcs = { ...@@ -4253,7 +4253,6 @@ static const struct drm_crtc_funcs intel_crtc_funcs = {
static void intel_crtc_init(struct drm_device *dev, int pipe) static void intel_crtc_init(struct drm_device *dev, int pipe)
{ {
struct intel_crtc *intel_crtc; struct intel_crtc *intel_crtc;
struct drm_i915_private *dev_priv = dev->dev_private;
int i; int i;
intel_crtc = kzalloc(sizeof(struct intel_crtc) + (INTELFB_CONN_LIMIT * sizeof(struct drm_connector *)), GFP_KERNEL); intel_crtc = kzalloc(sizeof(struct intel_crtc) + (INTELFB_CONN_LIMIT * sizeof(struct drm_connector *)), GFP_KERNEL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment