Skip to content

Commit

Permalink
drm: remove unused wrapper macros
Browse files Browse the repository at this point in the history
We don't use these anymore so nuke them.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed May 13, 2013
1 parent fefaedc commit 9564335
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions include/drm/drm_os_linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,6 @@ static __inline__ int mtrr_del(int reg, unsigned long base, unsigned long size)
/** Other copying of data from kernel space */
#define DRM_COPY_TO_USER(arg1, arg2, arg3) \
copy_to_user(arg1, arg2, arg3)
/* Macros for copyfrom user, but checking readability only once */
#define DRM_VERIFYAREA_READ( uaddr, size ) \
(access_ok( VERIFY_READ, uaddr, size ) ? 0 : -EFAULT)
#define DRM_COPY_FROM_USER_UNCHECKED(arg1, arg2, arg3) \
__copy_from_user(arg1, arg2, arg3)
#define DRM_COPY_TO_USER_UNCHECKED(arg1, arg2, arg3) \
__copy_to_user(arg1, arg2, arg3)
#define DRM_GET_USER_UNCHECKED(val, uaddr) \
__get_user(val, uaddr)

#define DRM_HZ HZ

Expand Down

0 comments on commit 9564335

Please sign in to comment.