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.8.0_pre1^2~2739 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f52c33ea10de8d1d07a9c4805366283e6ca635dc;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. Change-Id: Ib08817274e632f67776956ede8b56eaf0dce879e Reviewed-on: http://gerrit.openafs.org/6729 Reviewed-by: Jeffrey Altman Reviewed-by: Alistair Ferguson Reviewed-by: Derrick Brashear Tested-by: BuildBot --- diff --git a/src/viced/host.c b/src/viced/host.c index f8e66b675..9f1ddb63d 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -2097,7 +2097,6 @@ h_GetHost_r(struct rx_connection *tcon) } } } - h_AddHostToAddrHashTable_r(haddr, hport, oldHost); oldHost->host = haddr; oldHost->port = hport; rxconn = oldHost->callback_rxcon;