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.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 9EF59C433B4 for ; Tue, 13 Apr 2021 07:44:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6A57D613B1 for ; Tue, 13 Apr 2021 07:44:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229965AbhDMHoi (ORCPT ); Tue, 13 Apr 2021 03:44:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:49628 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242903AbhDMHoh (ORCPT ); Tue, 13 Apr 2021 03:44:37 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 7348BAC6E; Tue, 13 Apr 2021 07:44:16 +0000 (UTC) Date: Tue, 13 Apr 2021 09:44:15 +0200 From: Daniel Wagner To: Bart Van Assche Cc: Jens Axboe , linux-block@vger.kernel.org, Christoph Hellwig , "Martin K . Petersen" , Shin'ichiro Kawasaki , Ming Lei , Hannes Reinecke , Johannes Thumshirn , John Garry , Khazhy Kumykov Subject: Re: [PATCH v6 1/5] blk-mq: Move the elevator_exit() definition Message-ID: <20210413074415.li54p7ktpmcm55g4@beryllium.lan> References: <20210406214905.21622-1-bvanassche@acm.org> <20210406214905.21622-2-bvanassche@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210406214905.21622-2-bvanassche@acm.org> Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Tue, Apr 06, 2021 at 02:49:01PM -0700, Bart Van Assche wrote: > Since elevator_exit() has only one caller, move its definition from > block/blk.h into block/elevator.c. Remove the inline keyword since modern > compilers are smart enough to decide when to inline functions that occur > in the same compilation unit. > > Reviewed-by: Christoph Hellwig > Acked-by: Martin K. Petersen > Tested-by: Shin'ichiro Kawasaki > Cc: Ming Lei > Cc: Hannes Reinecke > Cc: Johannes Thumshirn > Cc: John Garry > Cc: Khazhy Kumykov > Signed-off-by: Bart Van Assche Reviewed-by: Daniel Wagner