drm/i915: remove redundant #ifdef CONFIG_COMPAT
authorJani Nikula <jani.nikula@intel.com>
Tue, 21 Oct 2014 11:40:37 +0000 (14:40 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:07 +0000 (16:34 +0200)
The whole file is only built with CONFIG_COMPAT=y.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_ioc32.c

index 2e0613e262515f7d2ad6f8b75c4f0884bdf05333..176de6322e4d0039482422bc1210ff89a1af769b 100644 (file)
@@ -189,7 +189,6 @@ static drm_ioctl_compat_t *i915_compat_ioctls[] = {
        [DRM_I915_ALLOC] = compat_i915_alloc
 };
 
-#ifdef CONFIG_COMPAT
 /**
  * Called whenever a 32-bit process running under a 64-bit kernel
  * performs an ioctl on /dev/dri/card<n>.
@@ -218,4 +217,3 @@ long i915_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
 
        return ret;
 }
-#endif