drm/udl: remove unused variables.
authorDave Airlie <airlied@redhat.com>
Tue, 29 May 2012 12:47:59 +0000 (13:47 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 29 May 2012 12:47:59 +0000 (13:47 +0100)
These two variables were not required after new API was introduced.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/udl/udl_gem.c

index d9609e2..97acc9c 100644 (file)
@@ -257,8 +257,6 @@ static int udl_prime_create(struct drm_device *dev,
 {
        struct udl_gem_object *obj;
        int npages;
-       int i;
-       struct scatterlist *iter;
 
        npages = size / PAGE_SIZE;