From patchwork Tue Aug 8 15:03:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 132539 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2215464vqr; Tue, 8 Aug 2023 08:54:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZEvj2kVPi+OFY6lRa4E/U9944eDrpu5G7KwOVlQ+SklY9OFH6lNkbKNPDWOc3nGzwnDwf X-Received: by 2002:a05:651c:106:b0:2b9:dfd0:c3d5 with SMTP id a6-20020a05651c010600b002b9dfd0c3d5mr8300334ljb.46.1691510088052; Tue, 08 Aug 2023 08:54:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691510088; cv=none; d=google.com; s=arc-20160816; b=wlsWbo8Sku6ukkvHmigdnVwr8Wl9fEukmz7lr3rk3rHTHM2PJp36DYKO95BRt+1n7p UgMEtK+/huHu5M7hsplfP5qmEcluhfeTgMN08Aash3SdiYPvJfVTsj50gKaf0rACe7zY rtTuwlla0oPmNvHT0euwGe4+5O8lLp9bF0fQrQU0v4NQgCJOnNN64UDYPXxYUq7OSoJv HKBiQb+3sO5L9z1P1Jg7JAu2uc01UvIU3RzcooHACIT+nGKNTz7WEzjx3oQE4tGMg0Kk pgbp51esCenn7NWi++EeDcAM45ICnlzcyZPBR3qfyx9x9KUw8OMe9oPSR3YHYbc5YM6A PEAw== 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=L6XQWlbm+seY8mG//jM1kYNYxtOd9/cvflrlv5EIOuk=; fh=PxTSsMy3vgQDtmByGMzD4WC5s9OHbX7sYW/I5GSeKA0=; b=1KRt4NEKhvnZkjmfZgHkw165Z9IXNZxBCXjTLoXST5ElghWsOV4Gk3bgUT0jZKuc5w rn14sDgJvpNV8fT02OmT6k58Rdz0JE2qnUyV8M3KOyYaMzcKxLJSI35Lf7Qq2NHOtINn IXoFrnvVzCHPBjX3PAGSq46iIHZLFmv4QrOqw+a1B4jpxeLeWsco9wWEW8s2nSYLyJCW JyOjWdSXQKLzwCh36pyBwmE5u7XZSDUHOoV5IfaEYvwCc2ohFYIXEBtK4vueGro8HPfk HMGNN8KFTSMfmMfyd9sMXIAsYBKlgA04RF5rO0SoeBGzQwMIN+Kb4xsuZ1FGBARgtWuE Z8Aw== 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 dt11-20020a170906b78b00b0099283fccb49si6799568ejb.232.2023.08.08.08.54.23; Tue, 08 Aug 2023 08:54:48 -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 S230269AbjHHPv2 (ORCPT + 99 others); Tue, 8 Aug 2023 11:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230115AbjHHPtp (ORCPT ); Tue, 8 Aug 2023 11:49:45 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 474091FD0 for ; Tue, 8 Aug 2023 08:42:13 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RKxDf1TT8zNmsB; Tue, 8 Aug 2023 22:59:46 +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; Tue, 8 Aug 2023 23:03:14 +0800 From: Yue Haibing To: , , , CC: , Subject: [PATCH -next] dm: Remove unused declaration dm_get_rq_mapinfo() Date: Tue, 8 Aug 2023 23:03:01 +0800 Message-ID: <20230808150301.45196-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: 1773676882088584043 X-GMAIL-MSGID: 1773676882088584043 Commit ae6ad75e5c3c ("dm: remove unused dm_get_rq_mapinfo()") removed the implementation but leave declaration. 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 {