From patchwork Wed Sep 6 15:30:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sagi Grimberg X-Patchwork-Id: 9941007 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2F03A6035F for ; Wed, 6 Sep 2017 15:30:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1709128C3C for ; Wed, 6 Sep 2017 15:30:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0D7928C2C; Wed, 6 Sep 2017 15:30:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, URIBL_BLACK autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16612209CC for ; Wed, 6 Sep 2017 15:30:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932953AbdIFPao (ORCPT ); Wed, 6 Sep 2017 11:30:44 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:52041 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932770AbdIFPao (ORCPT ); Wed, 6 Sep 2017 11:30:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zyRCkWTf4mtM4wJw9zRqhjzaV0+UonKaW6YTtP1OnOQ=; b=GGOhOQ0L9VT9hTmwzPcZa/xF4 EJh/CiZ26n2XjVqIXVIxspwVPPZz+5VSVFmF5MDb6bHF1g+Hom5RS1D9PPY/5/F1zOKK1JG+/u9pu X2+OR0hoiOy2xTf8PxMw/IB89/BPcknJyRcuVqUKF6IT7RkkKaOsT2fdF9mE+jKOAlYnh7rir48sL jHyv0A6iLtdJAusM4x8qwOFe9OjRuQpDIeDHeTaDdOEH06GNOEniFF8ybn61j+rdYcUXpMl6IZv3Z 47y8o36mHqI0vg8Gl8ZanLEfkmulkph8zLm/RtSrN3bacsV5mJB+ZkM8193SUKEzbel79tnRsGYRM wYvm841Bw==; Received: from bzq-82-81-101-184.red.bezeqint.net ([82.81.101.184] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.87 #1 (Red Hat Linux)) id 1dpcHp-0004Qi-LY; Wed, 06 Sep 2017 15:30:42 +0000 From: Sagi Grimberg To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, Bart Van Assche , Christoph Hellwig Subject: [PATCH 3/3] block: remove blk_mq_reinit_tagset Date: Wed, 6 Sep 2017 18:30:32 +0300 Message-Id: <1504711832-28425-4-git-send-email-sagi@grimberg.me> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1504711832-28425-1-git-send-email-sagi@grimberg.me> References: <1504711832-28425-1-git-send-email-sagi@grimberg.me> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP No callers left. Suggested-by: Bart Van Assche Signed-off-by: Sagi Grimberg Reviewed-by: Johannes Thumshirn Reviewed-by: Bart Van Assche --- block/blk-mq-tag.c | 7 ------- include/linux/blk-mq.h | 2 -- 2 files changed, 9 deletions(-) diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c index bce1c76fc768..c81b40ecd3f1 100644 --- a/block/blk-mq-tag.c +++ b/block/blk-mq-tag.c @@ -327,13 +327,6 @@ int blk_mq_tagset_iter(struct blk_mq_tag_set *set, void *data, } EXPORT_SYMBOL_GPL(blk_mq_tagset_iter); -int blk_mq_reinit_tagset(struct blk_mq_tag_set *set, - int (reinit_request)(void *, struct request *)) -{ - return blk_mq_tagset_iter(set, set->driver_data, reinit_request); -} -EXPORT_SYMBOL_GPL(blk_mq_reinit_tagset); - void blk_mq_queue_tag_busy_iter(struct request_queue *q, busy_iter_fn *fn, void *priv) { diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index 6bc29f73a9aa..cfd64e500d82 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -261,8 +261,6 @@ int blk_mq_freeze_queue_wait_timeout(struct request_queue *q, unsigned long timeout); int blk_mq_tagset_iter(struct blk_mq_tag_set *set, void *data, int (reinit_request)(void *, struct request *)); -int blk_mq_reinit_tagset(struct blk_mq_tag_set *set, - int (reinit_request)(void *, struct request *)); int blk_mq_map_queues(struct blk_mq_tag_set *set); void blk_mq_update_nr_hw_queues(struct blk_mq_tag_set *set, int nr_hw_queues);