svn commit: r212481 - stable/8/usr.sbin/powerd
Bruce Cran
brucec at FreeBSD.org
Sat Sep 11 21:52:40 UTC 2010
Author: brucec
Date: Sat Sep 11 21:52:40 2010
New Revision: 212481
URL: http://svn.freebsd.org/changeset/base/212481
Log:
Remove unused variable 'idle' which mistakenly got merged in r212472.
Approved by: rrs (mentor)
Modified:
stable/8/usr.sbin/powerd/powerd.c
Modified: stable/8/usr.sbin/powerd/powerd.c
==============================================================================
--- stable/8/usr.sbin/powerd/powerd.c Sat Sep 11 21:49:28 2010 (r212480)
+++ stable/8/usr.sbin/powerd/powerd.c Sat Sep 11 21:52:40 2010 (r212481)
@@ -443,7 +443,7 @@ main(int argc, char * argv[])
struct pidfh *pfh = NULL;
const char *pidfile = NULL;
int freq, curfreq, initfreq, *freqs, i, j, *mwatts, numfreqs, load;
- int ch, mode, mode_ac, mode_battery, mode_none, idle;
+ int ch, mode, mode_ac, mode_battery, mode_none;
int minfreq = -1, maxfreq = -1;
uint64_t mjoules_used;
size_t len;
@@ -621,7 +621,6 @@ main(int argc, char * argv[])
}
}
- idle = 0;
/* Main loop. */
for (;;) {
FD_ZERO(&fdset);
More information about the svn-src-all
mailing list