From: Andrew Deason Date: Fri, 17 Feb 2012 22:24:16 +0000 (-0600) Subject: viced: Remove extraneous h_AHTAHT_r in h_GetHost_r X-Git-Tag: upstream/1.6.1.pre4^2~54 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d68f9d83429d2195d6b037c03411c855cbbc4695;p=packages%2Fo%2Fopenafs.git 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 --- 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;