Skip to content

Commit

Permalink
drm/i915: remove redundant #ifdef CONFIG_COMPAT
Browse files Browse the repository at this point in the history
The whole file is only built with CONFIG_COMPAT=y.

Signed-off-by: Jani Nikula <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
  • Loading branch information
jnikula authored and danvet committed Oct 24, 2014
1 parent 0b14cbd commit 8eff426
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/i915/i915_ioc32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>.
Expand Down Expand Up @@ -218,4 +217,3 @@ long i915_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)

return ret;
}
#endif

0 comments on commit 8eff426

Please sign in to comment.