Skip to content

Commit

Permalink
drm/udl: remove unused variables.
Browse files Browse the repository at this point in the history
These two variables were not required after new API was introduced.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed May 29, 2012
1 parent a21f976 commit 1c780f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/udl/udl_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1c780f2

Please sign in to comment.