mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-10 07:06:23 +07: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:
parent
59738d5c97
commit
400138bc8b
@ -489,9 +489,7 @@ int drm_sysfs_device_add(struct drm_minor *minor)
|
||||
|
||||
return 0;
|
||||
|
||||
device_unregister(&minor->kdev);
|
||||
err_out:
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user