From: Daniel Vetter Date: Wed, 11 Dec 2013 10:34:37 +0000 (+0100) Subject: drm: inline drm_agp_destroy X-Git-Tag: v3.14-rc1~47^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6e4b28b60c5dae660aebe5cd731b21d02ca285e;p=pandora-kernel.git drm: inline drm_agp_destroy Wrapping a kfree is pointless. v2: Add a comment to the kerneldoc for drm_agp_init to explain where the kfree happens as requested by David. Note that for modeset drivers agp cleanup is fairly complicated anyway: The drm_agp_clear is a noop and drivers must call drm_agp_release on their own. Which they all seem to do properly. Cc: David Herrmann Reviewed-by: David Herrmann Signed-off-by: Daniel Vetter Signed-off-by: Dave Airlie --- Reading git-diff-tree failed