cpupower tools: Fix minor warnings
authorPalmer Cox <p@lmercox.com>
Tue, 27 Nov 2012 12:17:44 +0000 (13:17 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Nov 2012 22:07:18 +0000 (23:07 +0100)
commitfb8eaeb7ab96b09c910e36abf7df7f9ecbb0fb60
tree4f25dc64aff0df779cb44d2718b98baeb5ebb070
parent275a4dc441437d0074457591b46a45d7e45a817d
cpupower tools: Fix minor warnings

Fix minor warnings reported with GCC 4.6:
* The sysfs_write_file function is unused - remove it.
* The pr_mon_len in the print_header function is unsed - remove it.

Signed-off-by: Palmer Cox <p@lmercox.com>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/cpupower/utils/helpers/sysfs.c
tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c