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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8AE32C001B0 for ; Tue, 8 Aug 2023 18:40:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232259AbjHHSkP (ORCPT ); Tue, 8 Aug 2023 14:40:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230450AbjHHSjv (ORCPT ); Tue, 8 Aug 2023 14:39:51 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36AFD5BD71 for ; Tue, 8 Aug 2023 10:04:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:Mime-Version:Message-Id:Cc:To:From :Date:subject:date:message-id:reply-to; bh=uB5US40Q21RX8MYKg05X+4c/ml2vvAJnUQlqT0skdcg=; b=GOmtHZVrIsyUc2pnqSmmT8t0Ya gnNjlu96fm2D3Nv9ZH8s/9ZAHOjPhGs7h798y+wcjFwYJN8aa3xg7aTf3mn+d0e6RGzPFCRRZGWFL WBKXLywz9l/ks/rP+zgcOhmesyNhjy3nJuFDStUvucU8rQmoxOR+FIre0OVTC0SYxJKY=; Received: from modemcable061.19-161-184.mc.videotron.ca ([184.161.19.61]:49596 helo=pettiford) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1qTQ7J-0000iN-Ns; Tue, 08 Aug 2023 13:03:34 -0400 Date: Tue, 8 Aug 2023 13:03:33 -0400 From: Hugo Villeneuve To: Yue Haibing Cc: , , , , Message-Id: <20230808130333.2207c675d008fa6c808a472f@hugovil.com> In-Reply-To: <20230808150301.45196-1-yuehaibing@huawei.com> References: <20230808150301.45196-1-yuehaibing@huawei.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 184.161.19.61 X-SA-Exim-Mail-From: hugo@hugovil.com Subject: Re: [PATCH -next] dm: Remove unused declaration dm_get_rq_mapinfo() X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 8 Aug 2023 23:03:01 +0800 Yue Haibing wrote: Hi, > Commit ae6ad75e5c3c ("dm: remove unused dm_get_rq_mapinfo()") > removed the implementation but leave declaration. Maybe change to "removed the implementation but not the declaration." Hugo Villeneuve. > Signed-off-by: Yue Haibing > --- > include/linux/device-mapper.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h > index 69d0435c7ebb..5bc69c6a64e0 100644 > --- a/include/linux/device-mapper.h > +++ b/include/linux/device-mapper.h > @@ -502,7 +502,6 @@ int dm_post_suspending(struct dm_target *ti); > int dm_noflush_suspending(struct dm_target *ti); > void dm_accept_partial_bio(struct bio *bio, unsigned int n_sectors); > void dm_submit_bio_remap(struct bio *clone, struct bio *tgt_clone); > -union map_info *dm_get_rq_mapinfo(struct request *rq); > > #ifdef CONFIG_BLK_DEV_ZONED > struct dm_report_zones_args { > -- > 2.34.1 >