Remove extra kstat_open

pull/22966/head
Scott McWhirter 2011-03-27 04:31:55 -07:00 committed by Ryan Dahl
parent 752bbd6b42
commit d953856d87
1 changed files with 0 additions and 1 deletions

View File

@ -124,7 +124,6 @@ int Platform::GetCPUInfo(Local<Array> *cpus) {
kstat_t *ksp; kstat_t *ksp;
kstat_named_t *knp; kstat_named_t *knp;
kc = kstat_open();
if ((kc = kstat_open()) == NULL) if ((kc = kstat_open()) == NULL)
throw "could not open kstat"; throw "could not open kstat";