Skip to content

Commit

Permalink
drm: remove unreachable code in drm_sysfs.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonas Bonn authored and Dave Airlie committed Apr 24, 2009
1 parent 59738d5 commit 400138b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/drm_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,7 @@ int drm_sysfs_device_add(struct drm_minor *minor)

return 0;

device_unregister(&minor->kdev);
err_out:

return err;
}

Expand Down

0 comments on commit 400138b

Please sign in to comment.