From: Damien Lespiau Date: Mon, 9 Mar 2015 14:17:58 +0000 (+0000) Subject: drm/i915: Exit early from psr_status if PSR is not supported by the device X-Git-Tag: omap-for-v4.1/fixes-rc1~82^2~24^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3553a8eadb711e9236e517e44be67665bb5b4c65;p=pandora-kernel.git drm/i915: Exit early from psr_status if PSR is not supported by the device Static analysis was complaining that a path existed where we could use stat[] uninitialized. Fix this by simplifying the logic to exit early if PSR isn't supported. Signed-off-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed