Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp19604ybl; Fri, 9 Aug 2019 01:44:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqyipUhGjh0FHMRZ9Ukbu0z/+W8Y0gvyBwSNj1hm2T0+74aSkjmagP/ZgYlA9Eg0TKmNX01C X-Received: by 2002:a17:90a:de02:: with SMTP id m2mr8332842pjv.18.1565340268545; Fri, 09 Aug 2019 01:44:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565340268; cv=none; d=google.com; s=arc-20160816; b=Xc7eXyePXSv+quskqb+PW7o+QeJIyEjQrPVzf0ylRePZs8DlmHIQbdJSrT+5uXebOP 86FzZt1onlhlnUiqqkREffXn9ZcqS3FMQowwcfdzZcECkXB9z5RdLfbLN3sVnN7c/49g Qufy5iYikHfb7NSt6SMwsBMnBajzztqeCzsxJht4kG3KgsY5ya5GkNkeeNB91m9rugS8 t+LQxNIArX8SRce5N+ChJCPuEzPnAj0PJCu7MBKJcJz1bbU5s3fz/2ZdfR8vwXqaJmd8 ZjgA66rkZJ9sLZoMgCTbJlVWU2MlJHWdD5p7svZUuyn71a7eMK24sKqj+IDpwHYTRZaR 1XEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=xBscWs7dUyKYuvLJMdrX/dqwrBgShWOHIpxIdMKKJ5Y=; b=TEveaqQdAHmnbhX1PdauPCKm1Mq/Hczxe/JjS/fpwktiAWwO1ZLGqJybrW7cvfalEe 1quLHIU+yIjuviPohjQAiqsgshvq/BjsY2KcI9Cn3jM2NnHqN7dmEQ5svRwnrTMjsSvd 7mCkbk097LrG8VD+USIpET7rFbttZUQdnSiEuADCvzZ3ICt8a1aMKr5ix8CftXgGf7Di yS5ah0QY+95Li3BQZrFUU4Ybj0G/+LvFptoGbQ5v2pYgXIdZAUQZskTq6TfHd7YdROeG hNOiNKqtWXPbTRTxx8Smh6m47sdN+iUBemGjZ7HUgo8NY2/sWDtJEFHgCMigWG7jsB6V yBfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j17si17976283pfn.278.2019.08.09.01.44.12; Fri, 09 Aug 2019 01:44:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405960AbfHIImu (ORCPT + 99 others); Fri, 9 Aug 2019 04:42:50 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:59490 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726233AbfHIImt (ORCPT ); Fri, 9 Aug 2019 04:42:49 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id C5A6BA0DCFA3A01AE7D0; Fri, 9 Aug 2019 16:42:45 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.439.0; Fri, 9 Aug 2019 16:42:39 +0800 From: YueHaibing To: CC: , , YueHaibing Subject: [PATCH -next] afs: remove unused variable 'afs_zero_fid' Date: Fri, 9 Aug 2019 16:42:31 +0800 Message-ID: <20190809084231.62132-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fs/afs/fsclient.c:18:29: warning: afs_zero_fid defined but not used [-Wunused-const-variable=] It is never used since commit 025db80c9e42 ("afs: Trace the initiation and completion of client calls") Reported-by: Hulk Robot Signed-off-by: YueHaibing --- fs/afs/fsclient.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/afs/fsclient.c b/fs/afs/fsclient.c index 114f281..67af068 100644 --- a/fs/afs/fsclient.c +++ b/fs/afs/fsclient.c @@ -15,8 +15,6 @@ #include "xdr_fs.h" #include "protocol_yfs.h" -static const struct afs_fid afs_zero_fid; - static inline void afs_use_fs_server(struct afs_call *call, struct afs_cb_interest *cbi) { call->cbi = afs_get_cb_interest(cbi); -- 2.7.4