From d953856d87f2b12740332940011f9fd0e2cb41a2 Mon Sep 17 00:00:00 2001 From: Scott McWhirter Date: Sun, 27 Mar 2011 04:31:55 -0700 Subject: [PATCH] Remove extra kstat_open --- src/platform_sunos.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/platform_sunos.cc b/src/platform_sunos.cc index d2020662d7b..ab5de74aa71 100644 --- a/src/platform_sunos.cc +++ b/src/platform_sunos.cc @@ -124,7 +124,6 @@ int Platform::GetCPUInfo(Local *cpus) { kstat_t *ksp; kstat_named_t *knp; - kc = kstat_open(); if ((kc = kstat_open()) == NULL) throw "could not open kstat";