mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-09-20 13:44:17 +00:00
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:
@@ -489,9 +489,7 @@ int drm_sysfs_device_add(struct drm_minor *minor)
|
||||
|
||||
return 0;
|
||||
|
||||
device_unregister(&minor->kdev);
|
||||
err_out:
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user