From: Ian Wienand Date: Tue, 20 Mar 2018 03:01:43 +0000 (+1100) Subject: Remove warning "find_preferred_connection: no connection and !create" X-Git-Tag: upstream/1.8.1_pre2^2~57 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ad86112bbde0979efd4e99f23ca629f93fa258b1;p=packages%2Fo%2Fopenafs.git Remove warning "find_preferred_connection: no connection and !create" find_preferred_connection() is called with !create via afs_ConnByHost->afs_ConnBySA to determine if there is a cached connection available. Don't warn, as it will next be called with the create flag to create the connection anyway. Reviewed-on: https://gerrit.openafs.org/12964 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Benjamin Kaduk (cherry picked from commit 909d8358109445fdb316b68a8e55e17626cf17c9) Change-Id: If2cb4fd25e98f5bbdde00f76e8b3850c53cb6358 Reviewed-on: https://gerrit.openafs.org/13025 Tested-by: BuildBot Reviewed-by: Mark Vitale Reviewed-by: Michael Meffie Reviewed-by: Benjamin Kaduk --- diff --git a/src/afs/afs_conn.c b/src/afs/afs_conn.c index 92e560c97..fa6ed4d0c 100644 --- a/src/afs/afs_conn.c +++ b/src/afs/afs_conn.c @@ -103,7 +103,6 @@ find_preferred_connection(struct sa_conn_vector *xcv, int create) } /* for cix < CVEC_LEN */ if (bix < 0) { - afs_warn("find_preferred_connection: no connection and !create\n"); tc = NULL; goto out; }