From ad86112bbde0979efd4e99f23ca629f93fa258b1 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Tue, 20 Mar 2018 14:01:43 +1100 Subject: [PATCH] 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 --- src/afs/afs_conn.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.39.5