From patchwork Wed Sep 14 12:33:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9331323 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 6BAD4607FD for ; Wed, 14 Sep 2016 12:33:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D97229D87 for ; Wed, 14 Sep 2016 12:33:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5247429D8D; Wed, 14 Sep 2016 12:33:24 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 3E02729D8C for ; Wed, 14 Sep 2016 12:33:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759239AbcINMdV (ORCPT ); Wed, 14 Sep 2016 08:33:21 -0400 Received: from mail-lf0-f43.google.com ([209.85.215.43]:33441 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755489AbcINMdU (ORCPT ); Wed, 14 Sep 2016 08:33:20 -0400 Received: by mail-lf0-f43.google.com with SMTP id h127so8868987lfh.0 for ; Wed, 14 Sep 2016 05:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=UFrdpI0F3ZmEXyxHpCRmaz+uVwQCLts8Xe3SMRuYy88=; b=JVme1ALVK6MT8Yr8pUA4BjXHstsccILeYx8ZUHo+NngfGUMa9Oe8ngOihwnzUszsQD tHhiiGCd4p6XOBOsSpS/WSIuQKrx21Q2hWZ1ghN1MGlYeZeWGGy64iyzJwV++s3f2wf7 tPZzaqYNwXS0/8g2YkVItJzvsLlrOJHie0W74= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UFrdpI0F3ZmEXyxHpCRmaz+uVwQCLts8Xe3SMRuYy88=; b=EyhkeY+1p42f1cPkyZ+Jla0CZnBHOKGw5kP1EehmIlmlXLbUePJW8qjfreEAKu9bg7 /caW8h40kmQVFdTp/L7QhrtVGX/OewnX797EyqDSjF5fr4YpaPkVWfkncwilbhvIfIIp 96l44KKctjsPBZR8EMLUhbCbLkVIyJKCmvtwkinsB5nP8GAS9YFz+nYN3+LB9I660ZZq W4t8CrFotXewffcLkhWNTW8YJs5vcn8gUVkhOvamzbvpzvEeepWtkF5VZNdZkPJxA0DU CS7RGufPE433yV8jKGws09sCduGFzsUfwCgPzdK2PKRklUCIIGa6aosa+xTKs87VZQYs lr/g== X-Gm-Message-State: AE9vXwOX2JLMWLiegIwy7Q6t/R1hJp86Qliz2WnUNOkkCWcHtb/AdMYD3rw2K1TiAWHp6FY6 X-Received: by 10.25.210.84 with SMTP id j81mr870687lfg.14.1473856398952; Wed, 14 Sep 2016 05:33:18 -0700 (PDT) Received: from linuslaptop.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id 79sm4912225ljj.4.2016.09.14.05.33.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Sep 2016 05:33:18 -0700 (PDT) From: Linus Walleij To: linux-block@vger.kernel.org, Jens Axboe Cc: Linus Walleij , Christoph Hellwig Subject: [PATCH] block: remove blk_mq_alloc_single_hw_queue() prototype Date: Wed, 14 Sep 2016 14:33:15 +0200 Message-Id: <1473856395-22262-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.7.4 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 The blk_mq_alloc_single_hw_queue() is a prototype artifact that should have been removed with commit cdef54dd85ad66e77262ea57796a3e81683dd5d6 "blk-mq: remove alloc_hctx and free_hctx methods" where the last users of it were deleted. Fixes: cdef54dd85ad ("blk-mq: remove alloc_hctx and free_hctx methods") Cc: Christoph Hellwig Signed-off-by: Linus Walleij Reviewed-by: Christoph Hellwig --- include/linux/blk-mq.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index e43bbffb5b7a..d3fb9c3c6969 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -221,7 +221,6 @@ static inline u16 blk_mq_unique_tag_to_tag(u32 unique_tag) } struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *, const int ctx_index); -struct blk_mq_hw_ctx *blk_mq_alloc_single_hw_queue(struct blk_mq_tag_set *, unsigned int, int); int blk_mq_request_started(struct request *rq); void blk_mq_start_request(struct request *rq);