drivers/gpu/drm/drm_memory.c: fix check for end of loop
authorDan Carpenter <error27@gmail.com>
Tue, 27 Apr 2010 21:11:05 +0000 (14:11 -0700)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Apr 2010 08:41:51 +0000 (18:41 +1000)
commit404b017d00a9f472bdf725a06892d42f1cba5ed8
tree51cfdc4dabfe79bab020604ff2813b5714c009e2
parent22fb573affe51845622c4763653f60e130f80586
drivers/gpu/drm/drm_memory.c: fix check for end of loop

"agpmem" is never NULL here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Cc: Eric Anholt <eric@anholt.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_memory.c