From patchwork Wed Aug 9 03:06:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 133041 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2539320vqr; Tue, 8 Aug 2023 20:28:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGhEKyiuid8D/pMqpbkT6+2CQmncPljHiol/7PYUu/TId90oHSzYRlTgqtu5vwH//A738YI X-Received: by 2002:a17:906:5a45:b0:99b:cb7a:c164 with SMTP id my5-20020a1709065a4500b0099bcb7ac164mr965888ejc.62.1691551727311; Tue, 08 Aug 2023 20:28:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691551727; cv=none; d=google.com; s=arc-20160816; b=tHXK6EF62/tkyvGV1+oLdybANa/0dIiPwhzqCVG4hJbeEfe3We3QMQr/MzH1N2/SSR CGZSgD4ZPzi/X18tLNLMjndttNCYvUIXTNzjJC+AirGjhyaq7vKAtE3ahGuJ3XsnhMaN adxOvCjUp/LOfXcrS07ZQuR+8e+W+7CMk0g1iM1Z9Ky1tQzYJWIV7DFk/EznyKKSM4nm dDv6AIiWncROqMQrSBWvaE41G7gJmL2dg/iTO8Jg7al0cBG2ku7VB96XEvkv87nXdhGI 00iZLW7sgYyvXM2Udr8pgJ3UunFSav5SfVy4ul1geLG3LBvpO2wF5pZtFCr0bPNyyHxs Ld0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=ugtf8OycfO1qkMiHkyr53G2lCxqAQcjdkxkHbbPNNa0=; fh=Cvpsx5XH7S8CsvI2Nq/Hy5/HvnQz0XQi9cyeO3EjmG8=; b=SeL5NFvHbsebCUYndDIMTTsBAWGayRy3ky5VBygXZgC12eR2xfw8CT1n4iL5v5jLw+ 7M1oyF0+ZF/cPHubWTYMUgXegxufAtMndBCnA3Z+h+ANAbAxJ9wqLpM2rUVu1/CiMdnE ElFvfGLHbdRrBSum5ZSZUI9KxKW3dLFdUkF+3zFXaXJEwDHxAxZhQGzHmn/38CSFycwq NM97H8xZQ8z5a6/M5ZQwSsMheg2bHmZDwKMFtNO6oMsUT0SKzFQ+tK41YZfYR9HIJJjH UUq0YqIXCG4v7NwMH0pwZho+f1lzxkRCmUyGL+EH6VcI+GckpvUbSwAFQ2p/skOc6Srq c5iA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gy12-20020a170906f24c00b0099cba8b8da8si5377324ejb.188.2023.08.08.20.28.23; Tue, 08 Aug 2023 20:28:47 -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 S229936AbjHIDG0 (ORCPT + 99 others); Tue, 8 Aug 2023 23:06:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229800AbjHIDGY (ORCPT ); Tue, 8 Aug 2023 23:06:24 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8401A1BEF for ; Tue, 8 Aug 2023 20:06:23 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RLFH058THztS6p; Wed, 9 Aug 2023 11:02:52 +0800 (CST) Received: from localhost (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:06:21 +0800 From: Yue Haibing To: , , , CC: , , Subject: [PATCH v2 -next] dm: Remove unused declaration dm_get_rq_mapinfo() Date: Wed, 9 Aug 2023 11:06:08 +0800 Message-ID: <20230809030608.9528-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773720544081926235 X-GMAIL-MSGID: 1773720544081926235 Commit ae6ad75e5c3c ("dm: remove unused dm_get_rq_mapinfo()") removed the implementation but not the declaration. Signed-off-by: Yue Haibing --- v2: revise commit log --- 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 {