aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-01-03 14:59:02 +0100
committerBjörn-Egil Dahlberg <[email protected]>2012-01-03 14:59:02 +0100
commit0cf07c28d045351b7d72d0dfc4fc3b3aa14ea725 (patch)
tree16508655fd77d52008cc0e6bb3275fab3a2b4402 /erts
parente0c186597a307e49ecf13adbf5b80ac89f5c4b9c (diff)
downloadotp-0cf07c28d045351b7d72d0dfc4fc3b3aa14ea725.tar.gz
otp-0cf07c28d045351b7d72d0dfc4fc3b3aa14ea725.tar.bz2
otp-0cf07c28d045351b7d72d0dfc4fc3b3aa14ea725.zip
erts: Remove dead code in inet_gethost.c
Diffstat (limited to 'erts')
-rw-r--r--erts/etc/common/inet_gethost.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/etc/common/inet_gethost.c b/erts/etc/common/inet_gethost.c
index 77bfd5e2bc..2b9b84aa3b 100644
--- a/erts/etc/common/inet_gethost.c
+++ b/erts/etc/common/inet_gethost.c
@@ -1141,14 +1141,12 @@ static Worker *pick_worker(void)
static Worker *pick_worker_greedy(AddrByte *domainbuff)
{
int i;
- int ql = 0;
int found = -1;
for (i=0; i < num_busy_workers; ++i) {
if (domaineq(busy_workers[i].domain, domainbuff)) {
if ((found < 0) || (busy_workers[i].que_size <
busy_workers[found].que_size)) {
found = i;
- ql = busy_workers[i].que_size;
}
}
}