commit | 73c273eb7547d2557b49f9d1f42e298145c1e635 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Jun 19 20:27:39 2012 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Jun 20 11:16:48 2012 +0200 |
tree | 11152b2746b8735d86b84acf319c246d68392fc8 | |
parent | 6f4c45c12c6775b8158fc143115037d084df12c3 [diff] |
drm/i915: simplify context_idr_cleanup The idr code already passes us the pointer associated with that id, so no need to look it up again. Also, we'll kill the idr right away, so there's no issue with leaving these dangling pointers behind - the current code does the same. v2: Also drop the file argument, spotted by Ben Widawsky. Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>