Message ID | 20230321071136.68872-1-frank.li@vivo.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1633616wrt; Tue, 21 Mar 2023 00:21:50 -0700 (PDT) X-Google-Smtp-Source: AK7set/l6Vu2aQawSM/OCP0gNuRv2LfIK4jzS9qTxsuUA9Eym7yjKCNTkf/WtaVwL4u9QxqKLcTN X-Received: by 2002:a17:90b:1c06:b0:23f:7c82:2468 with SMTP id oc6-20020a17090b1c0600b0023f7c822468mr1501250pjb.31.1679383309923; Tue, 21 Mar 2023 00:21:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1679383309; cv=pass; d=google.com; s=arc-20160816; b=WkjVw26C11sHyRSVusDJr5GNbxr/9kdozcggr4LM9VIDB4/sy1Wxs2KN/9v7g1K+Ke 4SZsutamhHTehpQutl6EF2KLI5XwlG/K2uyAdSsY1gsVLAsabUIb3uwMk1N17QcJjIPE Ep/Sh3orI3QDRzK7isCfd5gk2p8wUk+XT0gJXaogw7oF9kxm5bRIf08zXNdVbw+GtcmT ALXVkHN1cBdDifzGqHSkUBgXI1O4b8Zr7+OhDFYiuaR3btKPA0GFKgU3rtS0fZ0U1Fn4 xsgpLoxg4n7Bkbcjz4XOSUi3r7CiWuRGiuaCPTt9xrUkcHp5/egU/utmu1UrLGYRhDrO kFZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=vKKdE7m8Almzk+6rAp8r6PgKf4Y3D5iLHbndMnE/rhc=; b=opFEGliZl5cZfIVH7XF+ozkoPg4psifWqUilviAc4mN25Lpc9jMa5jJIG+cBrRc203 8o60EGeyXXMMxbfosupD1cbLbOsorkGDMszu9lYgbvMaqPGOVBJ79Q3tJScU07fVNGun ci8+fyWM5la8bKBzpWpa6rmDlZZ9+l2e48Oi7zgFx6OGxCSrBesScuBev3U7ST66QyOV FDrWaBWCr2elFHTPWDT1jNjY32Pt5qIWHcxQOYmRWNx8pbbLQjJtZfv+bR0UpelKcd/1 zYTTcbi29mD473B2T/C4bn84NkvfqcOPV9b6PBYGEXtlTF+HXIQr2cNykTpx28TUf54V oiag== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=R6NigmaC; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id in13-20020a17090b438d00b0022c0d4652e3si17757608pjb.86.2023.03.21.00.21.36; Tue, 21 Mar 2023 00:21:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=R6NigmaC; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230169AbjCUHMJ (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Tue, 21 Mar 2023 03:12:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230107AbjCUHMF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Mar 2023 03:12:05 -0400 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2121.outbound.protection.outlook.com [40.107.117.121]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C461301B5 for <linux-kernel@vger.kernel.org>; Tue, 21 Mar 2023 00:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Si+Ln102CsviYsv0SEqjXz6H4nKru1mwMMlhk758uPAeKWmBN5vIHKCGMOhLky55572kb1rqEg7HEXnlutOvs819wR2hXHEvSa5phWZCdlY+0kDPYbMsSVNxTgY6YMKgIUcvuCmXiLcrnFQy7GWdwoKunseXVBQt73YavXkN45oy52T7dyCcxr5RRBi31NqqUSEfHwRZouxi0oo3fOgFsCHyV+5lTu7KXMBUCI/AM2MDy+HuzP/mNEYrHFe84Yoa2cmYoY5MeW7Gl4CECCls8CGFX36Pm6jMHA2mZSXjdhab50AfmcaVmYEnC39hjfCSdgKrwTvqd00OKjyh83c8Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vKKdE7m8Almzk+6rAp8r6PgKf4Y3D5iLHbndMnE/rhc=; b=Hkm7Hta/TbAb4e4toyl7t1MwNyGNs7jbJUB289+808kMXo1we/2cVk2GQzj0ZuZiKXbS4cJTV5+FRdeL9co+DdUdIS/t5bGUxmoQmmikMaw7mECGvUceDEb4nTsjYeUWLZp0tCZAvgQMZIZt7GW7qMYmSriPijAoZ8lAykKxBLUsS96ZgosDejYFU1kTSt9rY0VDL2J19TnDXwqk6lt5k0O0QHeekwLEO3f8OERbfSRqhN4iGP/jdi5R0lWwkic5N/CileYLFaXI3+PYiYwDitoUjvWGcNMSJGkWpbTk3lGMHt0T0uHvuOx3FQu6nMjCmPh4HgyoHG9VAMuIuwBvQw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vKKdE7m8Almzk+6rAp8r6PgKf4Y3D5iLHbndMnE/rhc=; b=R6NigmaCd9+mfq3t3sk4RNEswMK5YZrCeNyon9+i2qUTMukMfHWRCe/2wE2PW7zjVlKa+CwQNBOdQwaIjPjDmwadhyq41vaqK70eISPG/NMGHEw4NT2n68EojwdCnuf4IoPTYkXNy5FGL++EiVEMDVNPgU8jL900esQMNJki94kiAZKY1STmNakvCsTqnDHDWJKGJUFQ3FtVu+c2xvcxA+KlABiCthi7YdolGf+UFkLVc+NXbKXPyTN89/Az/pkOBazf7iqknJgk0c+s/aZXngb0+ULzTrxVDX/1D0KpT/Ly9iAzLhS4InCzGsCGc17EqYy4qybga2EFqlwNWqztNA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by TYUPR06MB6220.apcprd06.prod.outlook.com (2603:1096:400:35c::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Tue, 21 Mar 2023 07:11:49 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::daf6:5ebb:a93f:1869]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::daf6:5ebb:a93f:1869%9]) with mapi id 15.20.6178.037; Tue, 21 Mar 2023 07:11:49 +0000 From: Yangtao Li <frank.li@vivo.com> To: Richard Weinberger <richard@nod.at> Cc: Yangtao Li <frank.li@vivo.com>, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ubifs: remove return in compr_exit() Date: Tue, 21 Mar 2023 15:11:36 +0800 Message-Id: <20230321071136.68872-1-frank.li@vivo.com> X-Mailer: git-send-email 2.35.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR01CA0125.apcprd01.prod.exchangelabs.com (2603:1096:4:40::29) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|TYUPR06MB6220:EE_ X-MS-Office365-Filtering-Correlation-Id: 50739539-73fa-4b70-e57d-08db29db8a0e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uGltBMgca+FPSQqNvUiSJW5tBNegFosAvpJsxTzoPdGJKqDwOS8fy9+zqxE2vMvLGIATvgd8xzsNO/r7+54p3fGd4/mire4PjNF9zdW+3ksUXACeVFgDbVqHfgSGu4/kcB/Fazxr439roXKKBkSqHorYwJ98GXe2jOvr0TLZ0MzLWKoGZspSTlHJ5dHO5KhI/VVhsXoW9xUekrNO4GrQp9GjFC3PD2oR4We2Kitncn0wSUcLz5OD15HraCoFmCXB5v2xBB+96s6VwKBwRLzhz1dOjwPofn13WiN5Ptrv2ZMnxelP/JAB1yQfJmnAPKroNxxEo9MYsJlR/6J6mKzZugMzNXTgCbXYgR91lu0tR1ZuyPGCcYPx+t6FApKNMDeksNX1dHKnbx4CSRulQT3S24OmTZ+IWVb0xNl43pZPxUodB03Nunee5IvG+D5S7U28CvHyqFdufpuJgHWYmc1vG3Kh5hrf+K0aGR/5iUPDHi+yx8yH5MAEkUEiAmcrEwHZTwmSy6J0Or1YtQOmPSgyZa+YkJLvr0MQ8W+5r/b3VOodmjJ3EB/sZbioA8jygC3COVBTT/bAJwWmfIUF/YlhEZ2M6ZY1vYEc7BU0uDgWUXI4PdOWxF/owHwYXGofPkLcRHb/8gMO4Hg9TpzdWtON5cDYDxgHoY/HOyj69WW1Pnze4jEivczTSS2J2ni91QBY9jbqre73+E6Wp8T7M77Wuw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(39860400002)(396003)(376002)(366004)(136003)(346002)(451199018)(2616005)(52116002)(186003)(6486002)(4326008)(83380400001)(478600001)(6666004)(316002)(66556008)(66476007)(6916009)(66946007)(6506007)(26005)(6512007)(1076003)(8676002)(41300700001)(8936002)(4744005)(5660300002)(38100700002)(38350700002)(36756003)(2906002)(86362001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: s2/mNrpTEjk1A2fi64tzQyxQPHMRr+arNiyTJ/KuJu+7lFnWPXTs845oHyEK/w3Xyup1N1/t1CIOEhF1FnXM1OW3Ed5SJanV9UpgY7wLDUY4b2TbSbzyaRrDBXtn5xEYIk4JartJHfZ68uqEECkWPpsa+OkmoIAF/zAlcl/0PA7k7XES+bgGUoL7DMR+URAYGA4QYTCkE7RLn6cqIc254JS7+oyGb/wxs9FDxpxjcVovYxKvLF64TrJJo5FPi65KzkrJH0FuTl2/pHuRGJsZvIpAmyxjQPEHNgm3d405+ri7DEl7E+TeTfqhDQoZ+eXZnD8b+1hdfkP63c3Z3GWru1xqIfcB/QRUXhikDNUT+j8Z1ttFeQ2s6Du98ffdbs/S7QMkgaSbC1+v4/AdWqXxM9erkULeR4sz4n1TvFx+UA3hqvmlnHeQHXs2wHm/ukWz0tAQD5T7bXs82cElPz9ooedNEADZtFazSz+YO0iZ99cNCT3khV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WONlv3xHr6tqJrY8fdLYeY1 X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 50739539-73fa-4b70-e57d-08db29db8a0e X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2023 07:11:49.6365 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kPqjaP2OXsaJJP9slZrswWzfsil4hWkUMXhYqrixrz32ueqj+2chZt8ovimDZHzLjEAxYSitNxM7aHSneqz53g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYUPR06MB6220 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760961033926697479?= X-GMAIL-MSGID: =?utf-8?q?1760961033926697479?= |
Series |
ubifs: remove return in compr_exit()
|
|
Commit Message
李扬韬
March 21, 2023, 7:11 a.m. UTC
It's redundant, let's remove it.
Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
fs/ubifs/compress.c | 1 -
1 file changed, 1 deletion(-)
Comments
> It's redundant, let's remove it. > > Signed-off-by: Yangtao Li <frank.li@vivo.com> > --- > fs/ubifs/compress.c | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com> > > diff --git a/fs/ubifs/compress.c b/fs/ubifs/compress.c > index 3a92e6af69b2..75461777c466 100644 > --- a/fs/ubifs/compress.c > +++ b/fs/ubifs/compress.c > @@ -217,7 +217,6 @@ static void compr_exit(struct ubifs_compressor *compr) > { > if (compr->capi_name) > crypto_free_comp(compr->cc); > - return; > } > > /** >
diff --git a/fs/ubifs/compress.c b/fs/ubifs/compress.c index 3a92e6af69b2..75461777c466 100644 --- a/fs/ubifs/compress.c +++ b/fs/ubifs/compress.c @@ -217,7 +217,6 @@ static void compr_exit(struct ubifs_compressor *compr) { if (compr->capi_name) crypto_free_comp(compr->cc); - return; } /**