From: David Herrmann Date: Wed, 29 Jan 2014 09:18:02 +0000 (+0100) Subject: drm: skip redundant minor-lookup in open path X-Git-Tag: v3.15-rc1~51^2~56^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4aede2e3291896e7cb42755ecc5b6815b6cac97;p=pandora-kernel.git drm: skip redundant minor-lookup in open path The drm_open_helper() function is only used internally for drm_open() so we can safely pass in the minor-object directly instead of the minor-id. This way, we avoid the additional minor IDR lookup, which we already do twice in drm_stub_open() and drm_open(). Signed-off-by: David Herrmann Reviewed-by: Daniel Vetter --- Reading git-diff-tree failed