diff options
author | Kristian Hogsberg <krh@bitplanet.net> | 2013-12-02 20:36:17 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-12-17 19:48:17 -0500 |
commit | ee61c7303f84e2ef978aaed9b9640476c63ba586 (patch) | |
tree | 279835b16c909fe5adaf311e3f32c255747c12ca /include/linux/fb.h | |
parent | 520edd139aa038fdbb3dcf855951616dde7ef8d1 (diff) |
drm: Don't reference objects in the flink name idr
There's no reason to keep a reference to objects in the name idr. Each
handle to an object has a reference to the object and just before we
destroy the last handle we take the object out of the name idr. Thus,
if an object is in the name idr, there's at least one reference to the
object.
Or to put it another way, the name idr reference will never keep the
object alive. It just looks like it, which is confusing.
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/linux/fb.h')
0 files changed, 0 insertions, 0 deletions