From: Viresh Kumar Date: Tue, 6 Jan 2015 15:39:04 +0000 (+0530) Subject: cpufreq: stats: don't check for freq table while freeing stats X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~144^2~1^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f93dbbbd108936b18b3230af36d9a36866ce69a7;p=pandora-kernel.git cpufreq: stats: don't check for freq table while freeing stats While we allocate stats, we do need to check if freq-table is present or not as we need to use it then. But while freeing stats, all we need to know is if stats holds a valid pointer value. There is no use of testing if cpufreq table is present or not. Don't check it. Reviewed-by: Prarit Bhargava Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed