From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C17FC38A24 for ; Wed, 6 May 2020 20:01:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 58D2D2070B for ; Wed, 6 May 2020 20:01:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727849AbgEFUB3 (ORCPT ); Wed, 6 May 2020 16:01:29 -0400 Received: from fieldses.org ([173.255.197.46]:47984 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725966AbgEFUB2 (ORCPT ); Wed, 6 May 2020 16:01:28 -0400 Received: by fieldses.org (Postfix, from userid 2815) id 098E3BDB; Wed, 6 May 2020 16:01:27 -0400 (EDT) Date: Wed, 6 May 2020 16:01:27 -0400 From: "J. Bruce Fields" To: YueHaibing Cc: chuck.lever@oracle.com, trond.myklebust@hammerspace.com, anna.schumaker@netapp.com, davem@davemloft.net, kuba@kernel.org, linux-nfs@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] sunrpc: Remove unused function ip_map_update Message-ID: <20200506200127.GC21307@fieldses.org> References: <20200505084537.52372-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200505084537.52372-1-yuehaibing@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Thanks, applying for 5.8.--b. On Tue, May 05, 2020 at 04:45:37PM +0800, YueHaibing wrote: > commit 49b28684fdba ("nfsd: Remove deprecated nfsctl system call and related code.") > left behind this, remove it. > > Signed-off-by: YueHaibing > --- > net/sunrpc/svcauth_unix.c | 9 --------- > 1 file changed, 9 deletions(-) > > diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c > index 6c8f802c4261..97c0bddba7a3 100644 > --- a/net/sunrpc/svcauth_unix.c > +++ b/net/sunrpc/svcauth_unix.c > @@ -332,15 +332,6 @@ static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm, > return 0; > } > > -static inline int ip_map_update(struct net *net, struct ip_map *ipm, > - struct unix_domain *udom, time64_t expiry) > -{ > - struct sunrpc_net *sn; > - > - sn = net_generic(net, sunrpc_net_id); > - return __ip_map_update(sn->ip_map_cache, ipm, udom, expiry); > -} > - > void svcauth_unix_purge(struct net *net) > { > struct sunrpc_net *sn; > -- > 2.17.1 >