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:
Родитель
59738d5c97
Коммит
400138bc8b
|
@ -489,9 +489,7 @@ int drm_sysfs_device_add(struct drm_minor *minor)
|
|||
|
||||
return 0;
|
||||
|
||||
device_unregister(&minor->kdev);
|
||||
err_out:
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче