drm: fix end of loop test
authorDan Carpenter <error27@gmail.com>
Thu, 19 Aug 2010 09:39:57 +0000 (11:39 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 19 Aug 2010 22:48:34 +0000 (08:48 +1000)
commit161c48100236916e98d33a9c8b5fc8eae6decd15
tree525970734ddc19c562d4740f35656cbe1583e42a
parent6f50eae75b13e037e11f49128ea44a1a9a9535cb
drm: fix end of loop test

"agpmem" is never NULL here because it is the list cursor of a
list_for_each_entry() list.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_vm.c