Commit 400138bc authored by Jonas Bonn's avatar Jonas Bonn Committed by Dave Airlie

drm: remove unreachable code in drm_sysfs.c

This code was never going to get called in there.
Signed-off-by: default avatarJonas Bonn <jonas@southpole.se>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 59738d5c
...@@ -489,9 +489,7 @@ int drm_sysfs_device_add(struct drm_minor *minor) ...@@ -489,9 +489,7 @@ int drm_sysfs_device_add(struct drm_minor *minor)
return 0; return 0;
device_unregister(&minor->kdev);
err_out: err_out:
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment