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 d9609e2a4d8afc7217e3a50912d93200324baef8..97acc9c6c95b074c8b4ec7261e84360b5f93fccf 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;