From: David Herrmann Date: Fri, 29 Aug 2014 10:12:30 +0000 (+0200) Subject: drm: move "struct drm_magic_entry" to drm_auth.c X-Git-Tag: fixes-against-v3.18-rc2~73^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71d39483de474d9513e23d9e21af7483684f4745;p=pandora-kernel.git drm: move "struct drm_magic_entry" to drm_auth.c In drm_release(), we currently call drm_remove_magic() if the drm_file has a drm-magic attached. Therefore, once drm_master_release() is called, the magic-list _must_ be empty. By dropping the no-op cleanup, we can move "struct drm_magic_entry" to drm_auth.c and avoid exposing it to all of DRM. Signed-off-by: David Herrmann Reviewed-by: Thierry Reding Signed-off-by: Dave Airlie --- Reading git-diff-tree failed