drm: Avoid use-before-null-test on dev in drm_cleanup().
authorEric Anholt <eric@anholt.net>
Fri, 19 Dec 2008 23:07:11 +0000 (15:07 -0800)
committerDave Airlie <airlied@linux.ie>
Mon, 29 Dec 2008 07:47:27 +0000 (17:47 +1000)
commitf51c5b6e623cc737d47f513cbb893cec914f0bd2
tree3c290a4ba36531b749985636f62aa90263a7dd1b
parentf1acec933848219c402c165686677b1c307407f8
drm: Avoid use-before-null-test on dev in drm_cleanup().

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/drm_drv.c