Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp31700443rwd; Fri, 7 Jul 2023 03:13:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlFAsgp7IKLb3zg3lY4M6ClggYJUSWFa4h4O3NaIZG4aYDnLJlB5sRHykrMoplD3ugzFMmFi X-Received: by 2002:a05:6a21:6da0:b0:127:76ab:a707 with SMTP id wl32-20020a056a216da000b0012776aba707mr3996142pzb.30.1688724828465; Fri, 07 Jul 2023 03:13:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688724828; cv=none; d=google.com; s=arc-20160816; b=IcTkQx3QJpnZ3FH3DlFiFUwWtIex0+/zOLqtC8NaaMwNXfzR5JKGC6ll9luSuW1Vp7 SFAFOcdNq5Nn42P4NUe/yRceETwYo1TttzdzKv46HMy6+dr9uJLGGBWo+wl2BUf0kLVo JbmcoNriXFDu04rwJnB9xo4TD4wNv6J9vavpDle8XEPj0I3gOjW467txBD3N8s2o6ig2 XhyXtuYk+Vsr4hQF2tW2sP8ycAcJm4hdDNmsUP/3TLjv7B/DFdkFTVgkI1IUpZaNZf5K BZP4xkqAqDJYQgDbiO+IbPC9KLilyRgZ9JY504tN96oc5JIJ2PmKUEiEbViPS+EoHNAZ KfxQ== 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=GNQffBpvwsnQY1EH1HZ//XhBWHXASFg3WNRxajHHe/k=; fh=btCu08YPIkaMnzl/TLHoNK175CbmOVbtuBRLd+sKXQY=; b=pNWgSADo+KAOTxw0m74eX+aw/upIsun4jL+5aOfaFdTWoICp0Ec1+g8pcHP5KCP9ND EmCwOt5AjOlztUX36f7bKGsLnUFRKrgyThhQ70KLjuMLrbKcPUn1hgL8EtU0V6YFXHeb ZDBbBUdB+LYwLzGtM2CRJJFutfPcZRjralQjYAbEbmS0KUrPaOfnPo9LySpOlUphN8op 1UmlchBgazKl4Sw14qCtbL3mvhpyIjZSzraToI56JStKiMw6RHd22loK3PmJcJXa4c3v 42PztfqpJQprEWTcn9IKuqQmp5hFaVPHsIx3trqrx1EhR00nvvkc36Shm6FCxRqN61Ld l0+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=fp2imDnj; 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 ku8-20020a170903288800b001b88f151c9esi3124665plb.123.2023.07.07.03.13.34; Fri, 07 Jul 2023 03:13: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; dkim=pass header.i=@linux.dev header.s=key1 header.b=fp2imDnj; 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 S232682AbjGGJjJ (ORCPT + 99 others); Fri, 7 Jul 2023 05:39:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232619AbjGGJjG (ORCPT ); Fri, 7 Jul 2023 05:39:06 -0400 Received: from out-39.mta0.migadu.com (out-39.mta0.migadu.com [91.218.175.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26B9B2105 for ; Fri, 7 Jul 2023 02:39:05 -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=1688722743; 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=GNQffBpvwsnQY1EH1HZ//XhBWHXASFg3WNRxajHHe/k=; b=fp2imDnjRIdA+x9yfGUVEx9Y742YG+UA7+IZVdK3KPoej92hyEUCPCVKDxZqMwCTvu5NL3 Zu3ekiHzUtwtu4U58i2kJhJPALPiW46XLqCLscWSUWuLbKxiG7aAHJ5ClJ55+Uferx91IR VfmYznnkwG3bzfKDSBnmb11Vz7eBwwI= From: chengming.zhou@linux.dev To: axboe@kernel.dk, ming.lei@redhat.com, hch@lst.de, tj@kernel.org Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, zhouchengming@bytedance.com Subject: [PATCH v3 1/4] blk-mq: delete unused completion_data in struct request Date: Fri, 7 Jul 2023 17:37:19 +0800 Message-ID: <20230707093722.1338589-2-chengming.zhou@linux.dev> In-Reply-To: <20230707093722.1338589-1-chengming.zhou@linux.dev> References: <20230707093722.1338589-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=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 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 Reviewed-by: Christoph Hellwig --- 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 f401067ac03a..0a1c404e6c7a 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.41.0