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=-11.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,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 7BE3EC433E7 for ; Thu, 8 Oct 2020 03:40:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A3062168B for ; Thu, 8 Oct 2020 03:40:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728062AbgJHDkv (ORCPT ); Wed, 7 Oct 2020 23:40:51 -0400 Received: from out30-131.freemail.mail.aliyun.com ([115.124.30.131]:33720 "EHLO out30-131.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbgJHDku (ORCPT ); Wed, 7 Oct 2020 23:40:50 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01424;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0UBGOO3q_1602128447; Received: from localhost(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0UBGOO3q_1602128447) by smtp.aliyun-inc.com(127.0.0.1); Thu, 08 Oct 2020 11:40:48 +0800 Date: Thu, 8 Oct 2020 11:40:47 +0800 From: Baolin Wang To: tj@kernel.org, axboe@kernel.dk Cc: baolin.wang7@gmail.com, linux-block@vger.kernel.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] block: Remove redundant 'return' statement Message-ID: <20201008034047.GA96391@VM20190228-100.tbsite.net> Reply-To: Baolin Wang References: <633f73addfc154700b2f983bee6230f82de4c984.1601253090.git.baolin.wang@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <633f73addfc154700b2f983bee6230f82de4c984.1601253090.git.baolin.wang@linux.alibaba.com> User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Sep 28, 2020 at 08:42:26AM +0800, Baolin Wang wrote: > Remove redundant 'return' statement for 'void' functions. > > Signed-off-by: Baolin Wang Gentle ping? > --- > block/blk-iocost.c | 2 +- > block/blk-iolatency.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/block/blk-iocost.c b/block/blk-iocost.c > index ef9476f..e38c406 100644 > --- a/block/blk-iocost.c > +++ b/block/blk-iocost.c > @@ -3343,7 +3343,7 @@ static int __init ioc_init(void) > > static void __exit ioc_exit(void) > { > - return blkcg_policy_unregister(&blkcg_policy_iocost); > + blkcg_policy_unregister(&blkcg_policy_iocost); > } > > module_init(ioc_init); > diff --git a/block/blk-iolatency.c b/block/blk-iolatency.c > index f90429c..81be009 100644 > --- a/block/blk-iolatency.c > +++ b/block/blk-iolatency.c > @@ -1046,7 +1046,7 @@ static int __init iolatency_init(void) > > static void __exit iolatency_exit(void) > { > - return blkcg_policy_unregister(&blkcg_policy_iolatency); > + blkcg_policy_unregister(&blkcg_policy_iolatency); > } > > module_init(iolatency_init); > -- > 1.8.3.1