drm: kill more unused DRM macros
authorAndres Salomon <dilinger@collabora.co.uk>
Tue, 17 Nov 2009 22:41:23 +0000 (14:41 -0800)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Nov 2009 00:02:49 +0000 (10:02 +1000)
commit156822f7175d9ceb9d7e808502d3c5de8841e047
tree1eb79f8e11c1ce4710dcdd83210d1acb5cd95b39
parent420a457088669e055e767dfb8468909cd1799cf9
drm: kill more unused DRM macros

There are a few more macros in drmP.h that are unused; DRM_GET_PRIV_SAREA,
DRM_ARRAY_SIZE, and DRM_WAITCOUNT can go away completely.

Unfortunately, DRM_COPY is still used in one place, but we can at least
move it to where it's used.  It's an awful looking macro..

[akpm: fix overeagerness]
Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_drv.c
include/drm/drmP.h