File cleanup.patch of Package pm-profiler

--- pm-profiler-0.1_20111222/tools/enable-profile.orig	2011-12-22 08:36:52.000000000 +0100
+++ pm-profiler-0.1_20111222/tools/enable-profile	2024-10-29 14:06:46.769635852 +0100
@@ -93,7 +93,7 @@ function dirty_writeback_centisecs {
 
 function read_ahead_kb {
     for I in /sys/block/sd*/queue/read_ahead_kb; do
-	echo $READ_AHEAD_KB > $I | $LOGGER
+	echo $READ_AHEAD_KB > $I
     done
 }
 
--- pm-profiler-0.1_20111222/tools/get-current-settings.orig	2011-12-22 08:36:52.000000000 +0100
+++ pm-profiler-0.1_20111222/tools/get-current-settings	2024-10-29 13:58:10.130747505 +0100
@@ -122,7 +122,6 @@ get_dirty_writeback_centisecs
 get_read_ahead_kb
 
 if [ -d /sys/devices/system/cpu/cpu0/cpufreq ]; then
-    get_cpufreq_governor
     case "$Governor" in
       ondemand)
         get_cpufreq_sampling_rate
openSUSE Build Service is sponsored by