Tag: efb2d3be53e4343ab6495729b3ec9ffb95261035

cpufreq: CPPC: Delete an unnecessary check before the function call kfree()

Author: Markus Elfring <elfring@users.sourceforge.net> The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki — drivers/cpufreq/cppc_cpufreq.c | 3 +– 1 file changed, 1 insertion(+), …

Continue reading