From: Daniel Vetter Date: Tue, 19 Jun 2012 18:27:39 +0000 (+0200) Subject: drm/i915: simplify context_idr_cleanup X-Git-Tag: v3.6-rc1~83^2~42^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73c273eb7547d2557b49f9d1f42e298145c1e635;p=pandora-kernel.git 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 Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed