diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-06-26 23:38:35 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-06-26 23:38:35 +0200 |
commit | 1e50282ae8672ea2b6ea320e74389160bec951f0 (patch) | |
tree | e5534318d1513f29cc92cec81b0b0172e86ceb84 /deps/uv/src/unix/sunos.c | |
parent | 69f594d22ccca81d76396b52c1c8ce11115882dc (diff) | |
download | android-node-v8-1e50282ae8672ea2b6ea320e74389160bec951f0.tar.gz android-node-v8-1e50282ae8672ea2b6ea320e74389160bec951f0.tar.bz2 android-node-v8-1e50282ae8672ea2b6ea320e74389160bec951f0.zip |
deps: upgrade libuv to 4d42af2
Diffstat (limited to 'deps/uv/src/unix/sunos.c')
-rw-r--r-- | deps/uv/src/unix/sunos.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/deps/uv/src/unix/sunos.c b/deps/uv/src/unix/sunos.c index 261d69d47b..b95a89b456 100644 --- a/deps/uv/src/unix/sunos.c +++ b/deps/uv/src/unix/sunos.c @@ -332,14 +332,6 @@ uv_err_t uv_cpu_info(uv_cpu_info_t** cpu_infos, int* count) { lookup_instance = 0; while ((ksp = kstat_lookup(kc, (char *)"cpu_info", lookup_instance, NULL))) { if (kstat_read(kc, ksp, NULL) == -1) { - /* - * It is deeply annoying, but some kstats can return errors - * under otherwise routine conditions. (ACPI is one - * offender; there are surely others.) To prevent these - * fouled kstats from completely ruining our day, we assign - * an "error" member to the return value that consists of - * the strerror(). - */ cpu_info->speed = 0; cpu_info->model = NULL; } else { |