Message ID | 20170518092936.9277-6-linus.walleij@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp629126qge; Thu, 18 May 2017 02:30:23 -0700 (PDT) X-Received: by 10.98.147.67 with SMTP id b64mr3396610pfe.145.1495099823450; Thu, 18 May 2017 02:30:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495099823; cv=none; d=google.com; s=arc-20160816; b=VFiMc8VMm5mSAL8FGOrgDaTBD9nJXNLD3NWlSvG9Mcsn+ixLZhirjwVj7N5whx613h WKhxZ3Ybd7I0aFKaxYtH7sBG8lS/qXeioc0B7alw6a0pXqQa3zD8/cKA8Fg1DLLj/E08 v095cF4YCJX++WVVW4jpIg37hgJe7GiDSVtO9fXYCZucUkOZId07vtyUZScnbhjLcwQX rT1kXkNdtDKVFznqXjtS7a+f7CoG3LhWa/hNRxyaNouBNFLh2Ei9I9zqxyI87gZalAme 4+zH/XsiaaZKqdZbjgANw7XVJlgUQEhvznHB3nDlKmUgWbcQJQBv0oUTsDGdpcBO/eDI 12wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=1tsnuNNvXKDovNue3R/hOd62XvQ+5417TMd5sYdxCLc=; b=KVsozxNbAgHkhhmnz7CFMEFp1h3wyzXtDdqQDvyLw7u0BYG/8ei10Htx12NuZuEeEG oIdDyBiYjHQzGqV0nRj59ORMPZ/G1Hy2HEqeBoIbdWBlz+tmf3uNXiELm15L8tiltw3Z sXWkZm/rz9CKlYHQCLvG7SBQ3PxmvWQHdu1Oq6RopOUS5uHRs1LcTs++UuecQRwWiwMp DeDGolVkgDChREJndEOLlBTRgu4dzj3baNJ2PJQkwSFWR4Dzg0BSatHo7RzGkAxFP1xU /QYg0Fmjq8PQ5Cht1D1jpuTaHXcKkPTVYv/b9uietv85LvfAKsF8gsl5DuzmRcHSfbDg k1Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-mmc-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33si4553082plk.96.2017.05.18.02.30.23; Thu, 18 May 2017 02:30:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755254AbdERJaW (ORCPT <rfc822;georgi.djakov@linaro.org> + 6 others); Thu, 18 May 2017 05:30:22 -0400 Received: from mail-wr0-f175.google.com ([209.85.128.175]:36484 "EHLO mail-wr0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754929AbdERJaU (ORCPT <rfc822; linux-mmc@vger.kernel.org>); Thu, 18 May 2017 05:30:20 -0400 Received: by mail-wr0-f175.google.com with SMTP id l50so29199367wrc.3 for <linux-mmc@vger.kernel.org>; Thu, 18 May 2017 02:30:20 -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:in-reply-to:references; bh=04xPwC6CCgFAYb80CddG+F+yddsafZqB1vLfTf0QAHs=; b=aQxXgQJF2iGvnrzyZA+ThzahBwne5sRqoeb92XDPAC/K2ssW8xUj/IP0u4dn5GvXNI CSHzoYHJXxhhIa2jmv+Agq7zgQxxpa/mxmQt9UjWMDXvE7VREHTvRUsYk1z6MEBnqLLr jhgKPfjyBBx+kR2MoP/Z7baWkXdci759d5o2U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=04xPwC6CCgFAYb80CddG+F+yddsafZqB1vLfTf0QAHs=; b=cInefEdcHt1SyYmSSq0i57pocDxJMeN1fXTyqW3xYon+E5InQIxyAkGMDUtn7FiLyi zYw0G4ffpD/K224iv9gOn90+TwpV2sDGLL+PG5s7kncPPzh2djSZbfUzZpmnotpLQ/U4 VDu12fLiJ3kpewNvl0Z9BPMSF6sN4rG7biBJ2L3YZyyfcRVD1hPXrWEkjfefnYKtjDD5 6KjqvmugO9kVUry46koaLmv3ohIVydw39xI7Zs04gvCWW144duq1XHvbKTFJcbK3d8AP STlOK8ov18CF4rQHnHR078SbjKi5cLooHRydiTub7wO3qEEzd+RzddC7n0jFdJqrX3MO XEMA== X-Gm-Message-State: AODbwcBukJ+qWCxra586OE4+FxaeGn3p0iPiHER8YoMHP3gAjk0h36Ke e/ydpnH8JK+BecHQ X-Received: by 10.46.7.1 with SMTP id 1mr775154ljh.27.1495099819342; Thu, 18 May 2017 02:30:19 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id u24sm829895ljd.34.2017.05.18.02.30.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 May 2017 02:30:17 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> To: linux-mmc@vger.kernel.org, Ulf Hansson <ulf.hansson@linaro.org>, Adrian Hunter <adrian.hunter@intel.com> Cc: linux-block@vger.kernel.org, Jens Axboe <axboe@kernel.dk>, Christoph Hellwig <hch@lst.de>, Arnd Bergmann <arnd@arndb.de>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Paolo Valente <paolo.valente@linaro.org>, Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH 6/6 v2] mmc: queue: delete mmc_req_is_special() Date: Thu, 18 May 2017 11:29:36 +0200 Message-Id: <20170518092936.9277-6-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170518092936.9277-1-linus.walleij@linaro.org> References: <20170518092936.9277-1-linus.walleij@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-mmc.vger.kernel.org> X-Mailing-List: linux-mmc@vger.kernel.org |
Series |
[1/6,v2] mmc: core: Delete bounce buffer Kconfig option
|
expand
|
diff --git a/drivers/mmc/core/queue.h b/drivers/mmc/core/queue.h index 8c76e7118c95..dfe481a8b5ed 100644 --- a/drivers/mmc/core/queue.h +++ b/drivers/mmc/core/queue.h @@ -12,14 +12,6 @@ static inline struct mmc_queue_req *req_to_mmc_queue_req(struct request *rq) return blk_mq_rq_to_pdu(rq); } -static inline bool mmc_req_is_special(struct request *req) -{ - return req && - (req_op(req) == REQ_OP_FLUSH || - req_op(req) == REQ_OP_DISCARD || - req_op(req) == REQ_OP_SECURE_ERASE); -} - struct task_struct; struct mmc_blk_data; struct mmc_blk_ioc_data;
commit cdf8a6fb48882651049e468e6b16956fb83db86c "mmc: block: Introduce queue semantics" deleted the last user of mmc_req_is_special() and it was a horrible hack to classify requests as "special" or "not special" to begin with, so delete the helper. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- ChangeLog v1->v2: - No changes, just include this patch with in my series. --- drivers/mmc/core/queue.h | 8 -------- 1 file changed, 8 deletions(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html