Re: [PATCH] cpufreq: Drop unnecessary check from cpufreq_policy_alloc()

2016-08-30 Thread Viresh Kumar
On 31-08-16, 03:11, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since cpufreq_policy_alloc() doesn't use its dev variable for > anything useful, drop that variable from there along with the > NULL check against it. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq

[PATCH] cpufreq: Drop unnecessary check from cpufreq_policy_alloc()

2016-08-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since cpufreq_policy_alloc() doesn't use its dev variable for anything useful, drop that variable from there along with the NULL check against it. Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/cpufreq.c |4 1 file changed, 4 deletions(-) Index: linux-pm