Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5096405rwb; Tue, 8 Aug 2023 21:03:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFYcpW8YsTL/NM/v585Kbs2r8jgSpZsRgFuJzCKgDCZ2WC+VUWXg+pFDR/52TQ7SmtwS3oh X-Received: by 2002:a17:902:bd81:b0:1bb:fa61:b1b4 with SMTP id q1-20020a170902bd8100b001bbfa61b1b4mr1344597pls.1.1691553787146; Tue, 08 Aug 2023 21:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691553787; cv=none; d=google.com; s=arc-20160816; b=VvZAjjiGX6n6D6G0Ar1A2V0w5izkdt9Fp6s68mDWSxH90q2J8/Hq/5FLC/mWo+fxod aI0JqmfHJ+Zi0ev+jUSD8zQcLdueMdfPpOQTJgRu9Bzu3xh+eL1Iwk7wgzp8DjRBk0v0 zBScWNT4FnQ2MNR1qIvzscxRuPgYQ8igj/Qfimt93e0SiJIM3jqnvbQ2ieCrqTngwrB4 nOITqzW6IuAtqgzFXKWVTbJsV0AA2O38dzi2IqHthIcTzlCkomCszHCemEReWSmCYHXO plb+DUIilIHzHEPMZCMefrLeI/cJ8MAy1IKT/nqHJgrbh4eYd7dmDNwdHRXwWbyQhva6 0HTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=qm5MOT2g+HizlxaKWUCPCPHEZ+6QGcQYW5fX5EusnOQ=; fh=UaIgn9k9gd9PvowXWKG+5orXn9IATmCXmFjB8dnOXDo=; b=J4H5cWTt0t86JfD3K9KxIwV/otkN5aDYrg9tlL2kJ63IlzBg/K0o3CVAGsf/7/vrL6 j1bU8sdkcN/1BXA6Y8s67/A8/9DS/g/e7UIv4xpO/7r9eV7VqrVFA2BHOUQOhstm/0Q6 OQZ1q2vuyEASEg9BWLWqXANYmn5GNHtjmVR0610mIN6CBeBc9D82ER4sMYnaJ71HIyNx HPRr+jFQn6PnqP0D5iu+ySVK5MPnPIQS515mbIRXITFfGuZYM4KvqS08/ZAJOsZ5tQWp a5kqxr9rdpBfOlpOMd+W6rwiqf20NpHHi1Tx9gU9Jsbj40+RodtM3IovATiZsjuDJRJd iV3w== ARC-Authentication-Results: i=1; mx.google.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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x12-20020a170902a38c00b001bc6e60699dsi3984547pla.27.2023.08.08.21.02.55; Tue, 08 Aug 2023 21:03:07 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229702AbjHIDDU (ORCPT + 99 others); Tue, 8 Aug 2023 23:03:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjHIDDQ (ORCPT ); Tue, 8 Aug 2023 23:03:16 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 536EE1995 for ; Tue, 8 Aug 2023 20:03:15 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RLFCM6BLRztSCq; Wed, 9 Aug 2023 10:59:43 +0800 (CST) Received: from [10.174.179.215] (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 9 Aug 2023 11:03:12 +0800 Subject: Re: [PATCH -next] dm: Remove unused declaration dm_get_rq_mapinfo() To: Hugo Villeneuve CC: , , , , References: <20230808150301.45196-1-yuehaibing@huawei.com> <20230808130333.2207c675d008fa6c808a472f@hugovil.com> From: Yue Haibing Message-ID: <2c73f603-4c0b-36d8-df9f-be33db589c69@huawei.com> Date: Wed, 9 Aug 2023 11:03:11 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20230808130333.2207c675d008fa6c808a472f@hugovil.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/8/9 1:03, Hugo Villeneuve wrote: > 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." Thanks, will do this in v2. > > 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 >> > > . >