projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59738d5
)
drm: remove unreachable code in drm_sysfs.c
author
Jonas Bonn
<jonas@southpole.se>
Fri, 24 Apr 2009 05:06:36 +0000
(15:06 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 24 Apr 2009 05:06:36 +0000
(15:06 +1000)
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>
drivers/gpu/drm/drm_sysfs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_sysfs.c
b/drivers/gpu/drm/drm_sysfs.c
index 022876ae34f07f72b5906d50eabb936586d01e8d..8f9372921f8296cc0fe9961ad5afda7165215bfa 100644
(file)
--- a/
drivers/gpu/drm/drm_sysfs.c
+++ b/
drivers/gpu/drm/drm_sysfs.c
@@
-489,9
+489,7
@@
int drm_sysfs_device_add(struct drm_minor *minor)
return 0;
- device_unregister(&minor->kdev);
err_out:
-
return err;
}