Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp32647img; Wed, 20 Mar 2019 13:22:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWJhKUZLod9XrT2RpWJ29r2JbAXraMpHEffMTisGpjK7/sbVqK7vKQF3T2W7SbON5ZxDj+ X-Received: by 2002:a63:5321:: with SMTP id h33mr9337550pgb.168.1553113358712; Wed, 20 Mar 2019 13:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553113358; cv=none; d=google.com; s=arc-20160816; b=cuJMvlEeOmHRsRaVZCrsYCck1I0MriGRQ0FgTyPfMBIEihvli3SrsJOe0dAtV2wIBZ bZ5lLadqspv9/vGZM9pDD/cNhjQ8UJUT66yMlWeIW+66RvThvtyTReSvyHP+vptW2Aa/ UaPKfi5Fhb/tBwaieB9zJyTvEhHnQB4i449HYBAMqW90GYdqN5jaLT5GBUAzq31dzfqP MT+PIwKmKJlVnGqiGK3eWlxoZmi1i2mGNaNB6cf5G7UNz1ySKqi9PFeJIh7oKPDego/g yTNdPNChFt59yY6tbMz/vkkxLtp0Ht2j4CilUTYdCPq4HWdmqvNpxFHyXyz8EoZ70owC CxdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Yz2yoKzIgzLXiGhmM4H1L0flAqUtgvvERWJoUxl2aSs=; b=Gu+K/CGWl4jxnmMN1PX3/sIuGd3eh2w37ikARk+/Ll+bYDWRRXcWgiGZRfLe78nKzA GCug9+e3Ozpp46h04yAtB8MbAZwbBbL6fopAhlFjfueDriHKm4PM+HVzKgTJzBeCLl/V FiJ7JqMb1z5BWSfkEGqlWZ0vslGLnVelpwbdbsRg/RSrfiDRduWQGpEyAfvDhl3EZvLp o3VJeXr59FsqUMdoW6cLjzsNtNSAedNIXrmWJZOKInB5ptGtCVF84/OK5hpZap25pZHl bpSLuj20RcxhDsCEDYTUqdEr3Ukh89StWy21cQMS7O99oQk7v4XBUiHZt0UdJkH0bFGn Ke0A== 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 o3si2450952pgh.189.2019.03.20.13.22.17; Wed, 20 Mar 2019 13:22:38 -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 S1727428AbfCTUTj convert rfc822-to-8bit (ORCPT + 99 others); Wed, 20 Mar 2019 16:19:39 -0400 Received: from lithops.sigma-star.at ([195.201.40.130]:47162 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726492AbfCTUTj (ORCPT ); Wed, 20 Mar 2019 16:19:39 -0400 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id C0177609185A; Wed, 20 Mar 2019 21:19:36 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 5LPTQF1JokWG; Wed, 20 Mar 2019 21:19:36 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 4883860ED8A1; Wed, 20 Mar 2019 21:19:36 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id S1oWfxpoei8A; Wed, 20 Mar 2019 21:19:36 +0100 (CET) Received: from blindfold.localnet (213-47-184-186.cable.dynamic.surfer.at [213.47.184.186]) by lithops.sigma-star.at (Postfix) with ESMTPSA id C11B8609185A; Wed, 20 Mar 2019 21:19:35 +0100 (CET) From: Richard Weinberger To: Mukesh Ojha Cc: Yue Haibing , dedekind1@gmail.com, adrian.hunter@intel.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Subject: Re: [PATCH -next] ubifs: remove unused function __ubifs_shash_final Date: Wed, 20 Mar 2019 21:18:58 +0100 Message-ID: <2691086.gDEv9kBeKS@blindfold> In-Reply-To: <97289b81-ed73-002a-504d-2e82fad153e7@codeaurora.org> References: <20190320140955.11576-1-yuehaibing@huawei.com> <97289b81-ed73-002a-504d-2e82fad153e7@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 20. M?rz 2019, 21:05:37 CET schrieb Mukesh Ojha: > > On 3/20/2019 7:39 PM, Yue Haibing wrote: > > From: YueHaibing > > > > There is no callers in tree, and can be removed. > > > > Signed-off-by: YueHaibing > > --- > > fs/ubifs/auth.c | 18 ------------------ > > 1 file changed, 18 deletions(-) > > > > diff --git a/fs/ubifs/auth.c b/fs/ubifs/auth.c > > index 5bf5fd0..2a40ccce 100644 > > --- a/fs/ubifs/auth.c > > +++ b/fs/ubifs/auth.c > > @@ -147,24 +147,6 @@ struct shash_desc *__ubifs_hash_get_desc(const struct ubifs_info *c) > > } > > > > /** > > - * __ubifs_shash_final - finalize shash > > - * @c: UBIFS file-system description object > > - * @desc: the descriptor > > - * @out: the output hash > > - * > > - * Simple wrapper around crypto_shash_final(), safe to be called with > > - * disabled authentication. > > - */ > > -int __ubifs_shash_final(const struct ubifs_info *c, struct shash_desc *desc, > > - u8 *out) > > -{ > > - if (ubifs_authenticated(c)) > > - return crypto_shash_final(desc, out); > > - > > - return 0; > > -} > > - > > -/** > > * ubifs_bad_hash - Report hash mismatches > > * @c: UBIFS file-system description object > > * @node: the node > > > > Looks fine to be removed. > > Acked-by: Mukesh Ojha I guess you mean Reviewed-by? Thanks, //richard