aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-05-29 08:47:59 -0400
committerDave Airlie <airlied@redhat.com>2012-05-29 08:47:59 -0400
commit1c780f2cfec8b533b9cfda77209b4e3e7adaddbf (patch)
tree295ab885dcd8a1ffcff028fcfec4e8da79669a2b /drivers/gpu/drm
parenta21f976094819d2862f8fdbd39ab5b22e7d27a1a (diff)
drm/udl: remove unused variables.
These two variables were not required after new API was introduced. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/udl/udl_gem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/udl/udl_gem.c b/drivers/gpu/drm/udl/udl_gem.c
index d9609e2a4d8a..97acc9c6c95b 100644
--- a/drivers/gpu/drm/udl/udl_gem.c
+++ b/drivers/gpu/drm/udl/udl_gem.c
@@ -257,8 +257,6 @@ static int udl_prime_create(struct drm_device *dev,
257{ 257{
258 struct udl_gem_object *obj; 258 struct udl_gem_object *obj;
259 int npages; 259 int npages;
260 int i;
261 struct scatterlist *iter;
262 260
263 npages = size / PAGE_SIZE; 261 npages = size / PAGE_SIZE;
264 262