From d68f9d83429d2195d6b037c03411c855cbbc4695 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Fri, 17 Feb 2012 16:24:16 -0600 Subject: [PATCH] viced: Remove extraneous h_AHTAHT_r in h_GetHost_r We added this address to the host with an addInterfaceAddr_r call just a few lines before, which adds the host to the address hash table. Another call to h_AddHostToAddrHashTable_r is pure overhead and confusing. Reviewed-on: http://gerrit.openafs.org/6729 Reviewed-by: Jeffrey Altman Reviewed-by: Alistair Ferguson Reviewed-by: Derrick Brashear Tested-by: BuildBot (cherry picked from commit f52c33ea10de8d1d07a9c4805366283e6ca635dc) Change-Id: Ib97718a42f9997a1fa257533296c62f3d618e1a7 Reviewed-on: http://gerrit.openafs.org/6769 Tested-by: BuildBot Reviewed-by: Alistair Ferguson Reviewed-by: Derrick Brashear --- src/viced/host.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/viced/host.c b/src/viced/host.c index 9f89688c3..1ecd98c87 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -2154,7 +2154,6 @@ h_GetHost_r(struct rx_connection *tcon) } } } - h_AddHostToAddrHashTable_r(haddr, hport, oldHost); oldHost->host = haddr; oldHost->port = hport; rxconn = oldHost->callback_rxcon; -- 2.39.5