Skip to content

Commit d953856

Browse files
Scott McWhirterry
Scott McWhirter
authored andcommitted
Remove extra kstat_open
1 parent 752bbd6 commit d953856

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/platform_sunos.cc

-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ int Platform::GetCPUInfo(Local<Array> *cpus) {
124124
kstat_t *ksp;
125125
kstat_named_t *knp;
126126

127-
kc = kstat_open();
128127
if ((kc = kstat_open()) == NULL)
129128
throw "could not open kstat";
130129

0 commit comments

Comments
 (0)