mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08: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