From patchwork Tue Jan 16 09:33:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10166265 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9C7E6600CA for ; Tue, 16 Jan 2018 09:34:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B237281F9 for ; Tue, 16 Jan 2018 09:34:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F0652837D; Tue, 16 Jan 2018 09:34:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 378B2281F9 for ; Tue, 16 Jan 2018 09:34:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751118AbeAPJdt (ORCPT ); Tue, 16 Jan 2018 04:33:49 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:55598 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750878AbeAPJds (ORCPT ); Tue, 16 Jan 2018 04:33:48 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0MNvNj-1eV51p0M7H-007S4f; Tue, 16 Jan 2018 10:33:42 +0100 From: Arnd Bergmann To: Trond Myklebust , Anna Schumaker Cc: Arnd Bergmann , Peng Tao , linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] nfs: remove unused label in nfs_encode_fh() Date: Tue, 16 Jan 2018 10:33:14 +0100 Message-Id: <20180116093340.3163090-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:sXvy7bKBPSIvWynZzmst0R7xq4g9tLq3LqtxfSIYz9ZZ9zzaVSX n9uJhbUaOWxCTaCDMKgzpD2tKiDo6VhzNJhd9LZNSVEtIU2JtpjpmtMSiGm1dVCKlu/dcdP t+IXRMVx/C1UNWVc0yOxqToewMghM6SwxBARF44r331x+91L7lVpBgmrI1fQ5Z9DsFqz7M3 e5wu/OPtf/T3H5iStVRLw== X-UI-Out-Filterresults: notjunk:1; V01:K0:+Ijqt23SmsQ=:pq4enBqcnR9qOEBiaHpp4d xWLmzsFs6WpQNXFu48oIYF2KnpcPh32YI690w4uAeMsNaP/bBnM/DfTmAPKucL2bjXEgD8i5O Jx8Q+pBaiDYfSCXpKEQzSt5PLkP7l6KkKn+NWS7Q1stNuQK+S7h96bUK3opwrYucIh74jm32M rqis4Wzm5aVosUVYsNV7c+c93hJc4LxdHm+HfmBg0qYDK9K7e23DyF2O8unlw1+XXocO2iLeA la8WRdbz5FdOVPEAm+2ERXbrNNNvDUZ8h1hgN0yhmAGQomvCqeuu5xyMwt2YneKHcJI88P3Fb GmvUMtxnT5pIaH+h8aXHAZeQSDprPr+uHuRMSx3dSZKKo0Zd22UzGWXmPZprDDjs4dHPDGKDv idQvBcxOH3VTgBpGnsgHbkQwlFrFdY1+P/iRasKDzTRdRcx/t7I0TFyNQNUxb2Fs/PiPVdWqk 0IuWLn+Y9Qu4p6y1Pz1iaqS70toJ9RE0weEORsRKC7G9w7UoMYcHrHYBHnyudGg7SszMW7J/q Aix0O9YkhPyeR9FUlt+8ZJTphV8alXQGyVyJry+R5cajSWv28Wj1CFu3XFRofwsKO3cvHoeiZ AGouPYPFxOYAr36R7mUpIOFUf2UvaVFmXF8SwebXP3PULSmS1jlmMk8BsG6l3JhZq9zSZU2vA DIQUEEEQnqW/W/Xtau2sWZc9VdXtB4Z4opOwl9y8PGne9iaxv14arnVw0J+WgClNzViWa2L6a Hx37lZqQP8wDsirdIP7YxXj0EBAOzOPw7LmW3Q== Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The only reference to the label got removed, so we now get a harmless compiler warning: fs/nfs/export.c: In function 'nfs_encode_fh': fs/nfs/export.c:58:1: error: label 'out' defined but not used [-Werror=unused-label] Fixes: aaa150089465 ("nfs: remove dead code from nfs_encode_fh()") Signed-off-by: Arnd Bergmann --- fs/nfs/export.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/nfs/export.c b/fs/nfs/export.c index 2b80a6652818..ab5de3246c5c 100644 --- a/fs/nfs/export.c +++ b/fs/nfs/export.c @@ -55,7 +55,6 @@ nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent) p[len - 1] = 0; /* Padding */ nfs_copy_fh(clnt_fh, server_fh); *max_len = len; -out: dprintk("%s: result fh fileid %llu mode %u size %d\n", __func__, NFS_FILEID(inode), inode->i_mode, *max_len); return *max_len;