Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17600879rwd; Tue, 27 Jun 2023 05:26:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4TZPvXYd0xzO4YmOvnVCTUugiIpSmF3F+fPQjvrzd8m3Og53ekRX2ofljh8WI6Co3wdL3R X-Received: by 2002:aa7:ce15:0:b0:51b:ec90:cf0f with SMTP id d21-20020aa7ce15000000b0051bec90cf0fmr13555354edv.6.1687868789121; Tue, 27 Jun 2023 05:26:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687868789; cv=none; d=google.com; s=arc-20160816; b=BC2f3IP72qySSpvh0DdJYSrTBf7hWrv/hqjO3waDl/K8GSDf/b+Z7VUquuZOldvLCu wOJlnarr4hQhALqhKW+tjbBNCImCtw9rOjaWcgvpgLr4sxKaNWUDfEL1wzEl2L7z6OPT Bcrt92Xq7CLVIlXUFkoQP6AA5GUzeIkUv8NZQKRnOMbnwtw/ZbO4GYrkXXM4zM9X8XVQ v/B7QlA2QkLEmdqHkxzpE+TMLy8zMZiufaoolegHTzeELyK7Ht7tAx6do3Y0npmZ0NlH EiIe3alVivYLV163B8WtDoeohO/JcTsKwSjKN9n9NlM8D51IKnfhabk4JdGAYQGk9Hnx jOGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/O8YJWAa7A//A8YJ1hLAuWA8H/d3IRDfJMQYLuFl59Q=; fh=T4yTOyWmBQqcqsH0AWzH3ZUeoyvhq0SzMP2E10XewIg=; b=z5U1Q+d4Qpo0sDzHWEZIcKGM8l6E7ChoteC5kXAjILCLhBBEpTRMY/4f9Ka9jcAdO4 OKhnG+lAkoMEqlpWVYi2k/RTbWwc5gftnJ3cGOKtRdBp2z+mVOot2y6RM/daNzEOmtz9 suDU6Hr4um8Xo1tljyZCYwK/P0cCmOu6pjhycm/6u2lbYWHciV3Sg3dHn+s9Yn3p+Nqj OIjKnd0H4HWlWu03LtImgJvQqjf5ApBFbXUEakXlRWYpHnliKVo2rS7uc+2tGWKbjYy4 icHvaidoaG7Lx3jBp5Ic04E6cA9SKlJZCBsXPdNUi6tlOe9q+QCeNmDCM3BDQGsesfXn PqGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=BKYs2RGG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb17-20020a170906b89100b00991f1e4b044si1601644ejb.336.2023.06.27.05.26.02; Tue, 27 Jun 2023 05:26:29 -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; dkim=pass header.i=@linux.dev header.s=key1 header.b=BKYs2RGG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231855AbjF0MJ4 (ORCPT + 99 others); Tue, 27 Jun 2023 08:09:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231874AbjF0MJh (ORCPT ); Tue, 27 Jun 2023 08:09:37 -0400 Received: from out-51.mta1.migadu.com (out-51.mta1.migadu.com [95.215.58.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C8F41BDF for ; Tue, 27 Jun 2023 05:09:35 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1687867774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/O8YJWAa7A//A8YJ1hLAuWA8H/d3IRDfJMQYLuFl59Q=; b=BKYs2RGGfguSyGgb3IkV0RPbcq3qcyqARGTaYepvA/FA23tWcM1aCKi9+krWCYMIr76uDo 0rexnwxqzl8F4RZ+cp2FB7HOANASVMlE9UM3j94Z0oNZIF2TrJ5THWKMJPYTCCYgFm75hz mfYbjzBSr1YbbergYLsysrTqqxOQqg0= From: chengming.zhou@linux.dev To: axboe@kernel.dk, tj@kernel.org, hch@lst.de, ming.lei@redhat.com Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, zhouchengming@bytedance.com Subject: [PATCH 4/4] blk-mq: delete unused completion_data in struct request Date: Tue, 27 Jun 2023 20:08:54 +0800 Message-Id: <20230627120854.971475-5-chengming.zhou@linux.dev> In-Reply-To: <20230627120854.971475-1-chengming.zhou@linux.dev> References: <20230627120854.971475-1-chengming.zhou@linux.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 From: Chengming Zhou After global search, I found "completion_data" in struct request is not used anywhere, so just clean it up by the way. Signed-off-by: Chengming Zhou --- include/linux/blk-mq.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index 96644d6f8d18..ab790eba5fcf 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -158,13 +158,11 @@ struct request { /* * The rb_node is only used inside the io scheduler, requests - * are pruned when moved to the dispatch queue. So let the - * completion_data share space with the rb_node. + * are pruned when moved to the dispatch queue. */ union { struct rb_node rb_node; /* sort/lookup */ struct bio_vec special_vec; - void *completion_data; }; /* -- 2.39.2