We recently enabled reading sysctl values from inside the sandbox. This CL removes workarounds needed when sysctl reads where blocked.
Review URL: http://codereview.chromium.org/151202
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19809 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: 0203ed716229301ebcd111f799ecf4367f5b437e
diff --git a/base/sys_info_posix.cc b/base/sys_info_posix.cc
index 8a83f3c..388ccba 100644
--- a/base/sys_info_posix.cc
+++ b/base/sys_info_posix.cc
@@ -39,7 +39,7 @@
#else
// It seems that sysconf returns the number of "logical" processors on both
// mac and linux. So we get the number of "online logical" processors.
- static long res = sysconf(_SC_NPROCESSORS_ONLN);
+ long res = sysconf(_SC_NPROCESSORS_ONLN);
if (res == -1) {
NOTREACHED();
return 1;