From: Imre Deak Date: Tue, 20 May 2014 16:47:20 +0000 (+0300) Subject: drm/i915: add missing unregister_oom_notifier to the error/unload path X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~38^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bdc72930743b35f23b6c80426a2c9f6dda5e9b6;p=pandora-kernel.git drm/i915: add missing unregister_oom_notifier to the error/unload path I'm trying to reduce the WARNs during driver reload and this was one of them. Also while at it remove the redundant condition from before unregister_shrinker(). v2: - fix the error path too and move the unregister to its logical place (Chris) - remove redundant condition from before unregister_shrinker() Signed-off-by: Imre Deak Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed