drm: remove unreachable code in drm_sysfs.c

This code was never going to get called in there.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Jonas Bonn 2009-04-24 15:06:36 +10:00 committed by Dave Airlie
parent 59738d5c97
commit 400138bc8b

View File

@ -489,9 +489,7 @@ int drm_sysfs_device_add(struct drm_minor *minor)
return 0;
device_unregister(&minor->kdev);
err_out:
return err;
}