drm/i915: remove redundant #ifdef CONFIG_COMPAT
Subsystems (2)
PATCH 1/1 drm/i915: remove redundant #ifdef CONFIG_COMPAT
The whole file is only built with CONFIG_COMPAT=y.
Signed-off-by Jani Nikula <[email protected]>
--- drivers/gpu/drm/i915/i915_ioc32.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/i915/i915_ioc32.c +0 -2
@@ -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
Signature · 1 line
2.1.1
Daniel Vetter
AppliedQuoted 3 lines · Jani Nikula
The whole file is only built with
CONFIG_COMPAT=y.Signed-off-by Jani Nikula <[email protected]>
Queued for -next, thanks for the patch.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch