cpupower: Remove unneeded code and by that fix a memleak
authorThomas Renninger <trenn@suse.de>
Fri, 16 Dec 2011 14:35:54 +0000 (15:35 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sat, 3 Mar 2012 13:40:10 +0000 (14:40 +0100)
Looks like some not needed debug code slipped in.
Also this code:
tmp = sysfs_get_idlestate_name(cpu, idlestates - 1);
performs a strdup and the mem was not freed again.
-> delete it.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>

No differences found