Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4348623pxu; Tue, 20 Oct 2020 14:57:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGM7XvDs9K+JDU4nK2byf9pY37ZPjEBP7wojoY2zkoMd+FJ+WIJiExAb012MZlNXTRafNr X-Received: by 2002:a17:906:86ce:: with SMTP id j14mr285558ejy.158.1603231058679; Tue, 20 Oct 2020 14:57:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603231058; cv=none; d=google.com; s=arc-20160816; b=DUZCmvcGEI+LDXs+rCeN4msa6ii6WcDY/fs6VwrXVDxCI6A5/aF52hszn7/kFuymHe ZyGPshCuofsFM2LCHbnyrj37OqM1THGk7dKEhUT7zgjdRVV9X9g5sYLeeA7PtMHyksQ+ LR2cgNWxP1eX5AHSDFrip5l7mCWH9W66Eyd//mZJw2ABxVE88Kv5bpRTnKl7nBokdg3O daFKijfbPTFsuaP3oKqF5GhItybHZA4YbNs6J3JwltGFrvOfd4BSHkGImYAjGsSzQWyu 1PAhTodsjSPQa/SJxNzRIxnHbAuOWbiwP8yIvRig+c8vm2Xu1m0Lg9j2G24o6bIJ6Cqz QEGQ== 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 :message-id:date:subject:cc:to:from; bh=x9rfEzpjUOXaNpWWc15GIFuIF1Xoyzfxee37DmiEu1k=; b=0U3lXge4q5ivgyF2jTJFiwSMSS5L3sY/2WEiQGhdgfJrURP5vH69iVUVNh4EsUvOVT PvIBQZBa87K/eRS7SF1rAayOQEVpsr4IbkYCnhyMPRD9M1dBRzXl8QEhTObwDiq/5NPe W8SIRjAt9AwKuon9REtrEQHXs63PT+RDsN00nj2l2N4AMWtjCbD2XWBtcP4DQBHpzEav URT6pUXqX6OvxK6N7F3dI+Ua5O7T4GJKPZk+KiO0SnVI9JHYL6dH7Rv3XdA3S609bxa6 Q0kT5jkxaSvQDAQmaCtnNFyu9d+D1kNBy5x8xP98JswDXB3TTD1Mdw1mAvK29LLE0+uC GETQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k3si78545edn.457.2020.10.20.14.57.16; Tue, 20 Oct 2020 14:57:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392739AbgJTJT6 (ORCPT + 99 others); Tue, 20 Oct 2020 05:19:58 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:49716 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2391233AbgJTJT6 (ORCPT ); Tue, 20 Oct 2020 05:19:58 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 7FA95BE8207F01AD4A2F; Tue, 20 Oct 2020 17:19:55 +0800 (CST) Received: from huawei.com (10.175.101.6) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Tue, 20 Oct 2020 17:19:52 +0800 From: Yufen Yu To: CC: Subject: [PATCH] block: remove unused members for io_context Date: Tue, 20 Oct 2020 05:22:56 -0400 Message-ID: <20201020092256.4095621-1-yuyufen@huawei.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.101.6] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After removing blk-sq code, there is no user of nr_batch_requests and last_waited in kernel. Signed-off-by: Yufen Yu --- include/linux/iocontext.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/linux/iocontext.h b/include/linux/iocontext.h index 1dcd9198beb7..0a9dc40b7be8 100644 --- a/include/linux/iocontext.h +++ b/include/linux/iocontext.h @@ -106,12 +106,6 @@ struct io_context { unsigned short ioprio; - /* - * For request batching - */ - int nr_batch_requests; /* Number of requests left in the batch */ - unsigned long last_waited; /* Time last woken after wait for request */ - struct radix_tree_root icq_tree; struct io_cq __rcu *icq_hint; struct hlist_head icq_list; -- 2.25.4