drm: checking the wrong variable in savage_do_init_bci()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 17 May 2012 07:09:44 +0000 (10:09 +0300)
committerDave Airlie <airlied@redhat.com>
Thu, 17 May 2012 10:42:27 +0000 (11:42 +0100)
commit10f5ab04056207b900e903f1e4b50b8e3867b67e
treea3b4e005a5b724927e6e9b6669192e79c661cdf6
parent0333592ff9e936c6e5ae143e7418468a3198b54d
drm: checking the wrong variable in savage_do_init_bci()

drm_core_ioremap() initializes ->handle.  We already know
"dev->agp_buffer_map" is a valid pointer.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/savage/savage_bci.c