Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Remove extra kstat_open
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott McWhirter authored and ry committed Apr 12, 2011
1 parent 752bbd6 commit d953856
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/platform_sunos.cc
Expand Up @@ -124,7 +124,6 @@ int Platform::GetCPUInfo(Local<Array> *cpus) {
kstat_t *ksp;
kstat_named_t *knp;

kc = kstat_open();
if ((kc = kstat_open()) == NULL)
throw "could not open kstat";

Expand Down

0 comments on commit d953856

Please sign in to comment.