Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp498492lqp; Wed, 22 May 2024 10:25:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUMKrUEbKAvikiJbwx8pOjE05/G+j7pxPE0b1Ykd3TAxiFo5iDuu0Bhyp7niGFur1H2T4xGUnUOk5W4n8CLfDIkSdDPqHTpT2tSXlxohQ== X-Google-Smtp-Source: AGHT+IF7ZyHGOkHGDt7YFTjOBSAbQmz4bWJ47TusiUf9roHfLksHmIibdCYmRjD3xp77Ae/zLmGE X-Received: by 2002:a50:d7d6:0:b0:578:2474:8e2b with SMTP id 4fb4d7f45d1cf-57824748f98mr4521176a12.10.1716398734914; Wed, 22 May 2024 10:25:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716398734; cv=pass; d=google.com; s=arc-20160816; b=fuAQtXMjtLw0Td6Vk4UIiXgGIaYKVut+Nq5qpbRcWxCbuQdGDGE2Vi8QiRDh0eo0UR p+83KgJw8ZZNogmP0MVwCpJUuMFmKd0jET8pqwmEqfu4hC/J7ET6/MTisDyK0QJG1k/Q LU/h5UEAmMK6S+fcA76LQllrJ3FTdG6a6tT/0Z+4gpwCcZ/lR7/dHXfPyOeaJYxKINef 9cgmp95ju0NZXVVuqc2DlmaI7DLgZrXPu/HdOPEexTvG2/dAIYjUd6EjcGnDMIyNO3CY CArvOvE3DuGPucFjmtdM8tyhoqQT2jX1RzK/eGr62iqiYjegD0K51UmWtszuuylh0FLt z30w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=V5gX0iaMm0XLDVaVLLJuDodgb7XRDFc8VwDQ9Wvel1Q=; fh=vtp3XlLpeCAGfkBElzUfVWvKezeFszUnE5Jzfpa+fp4=; b=t/pBKnX6jVthyUrpO9aqtU9we1a1qc3SjLTYOHnrNx6lYcFkzUl72oUoaHRgrcGHko MktdvbwzRBnURnRJDfp3bL6/osHP7tCAOmPkfODiSGksh0tKm1bEphDiU8qmN2sjZLiO eEAjkJU8NDlML5V7A4//qPoMIgiq2x5ro2q6uKiT8TfGb0UxPHGJxE0M/XTTWmC/XbA3 3P9XWn+mtDDFle6s1bt9yyracbXVYX0NWt8tjeCeEHnaqjxFkm/t7eSlwvTx0XES70Jz S/qOWX6SqQS3R4Du9wn98vr0TmV/dmdhIwxzUzXtBzi1panj1mIc12mNGB1hakMvvd47 p5Rw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=n56wN4hb; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-186547-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57521ffe85bsi5737116a12.637.2024.05.22.10.25.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 10:25:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186547-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=n56wN4hb; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-186547-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9E25B1F23EA8 for ; Wed, 22 May 2024 17:25:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F67F1422D1; Wed, 22 May 2024 17:25:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="n56wN4hb" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6505C2B9C3; Wed, 22 May 2024 17:25:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716398723; cv=none; b=TJ3sib4Ignt2pwekTgIKLnhMlk6VRKC0+Fxlh6ASwx3C5siF+SjQAX1f5UaHc/Oeq+QPhU74KnrO6mQZCgVKD8gX++4JDzyxAh5OWbQ0L9u5ZGYqHBCK6J46Nwt5Ox+rp55uC38zS57T5u94gDB4sCHP8afI8SsT4ZqmfbZaG4Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716398723; c=relaxed/simple; bh=QnU6TLnYhrKP0IhVowNIjwPrz/U8ertoOdukGfKUadw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uIHOSlPuxU1HOzV25kTB2W942HQ2STeEi2t04Ca8/rUjYWaP2d6Vu47Vs2Z9f3oH1Iw/TcveWs3kdVOylLdbLUL60Nx0rdK2tszRz3AIrs/L4rKzd6iSfdib1Bbr08nSpOzugTiD2xduL95GQfkDzFm50WF8D9UM6JTVmTforo8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=n56wN4hb; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=V5gX0iaMm0XLDVaVLLJuDodgb7XRDFc8VwDQ9Wvel1Q=; b=n56wN4hbZpnW7D2u TH9ZMYWx5fvF+SHZAV3WEgtpYmRolbhSDhtMmRT1MEnGjnmKEGlGx936t8FTpM0PqFhWK7R0OMke5 cYsQceOI91L+Z9CFQKXWTcA7xC4hxtYjNONCflFKQtwGwJ07t0BLiyPVhPUoP+Lw+8rh41JLzQn6I a6ZMWBXQe70l+akHdh2Fk27xQmHj0z6INJ9mfa4gf6bje35IUwCBN7zjDH92A/YE521McaCYbkxMX lC3279B3di7BBQFb6BDc2UEYwLDdfzAUVS0AwF0QNvXAXfuOepaOj1sWTIBBHja+Qzgd+ve0U6sjW zWBR3aGVj05yDVsBGA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s9pi0-0025JX-1Q; Wed, 22 May 2024 17:25:00 +0000 From: linux@treblig.org To: tj@kernel.org, axboe@kernel.dk, yukuai3@huawei.com Cc: cgroups@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] blk-throttle: remove unused struct 'avg_latency_bucket' Date: Wed, 22 May 2024 18:24:58 +0100 Message-ID: <20240522172458.334173-1-linux@treblig.org> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 'avg_latency_bucket' is unused since commit bf20ab538c81 ("blk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOW") Remove it. Signed-off-by: Dr. David Alan Gilbert --- block/blk-throttle.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 80aaca18bfb0..0be180f9a789 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -39,11 +39,6 @@ struct latency_bucket { int samples; }; -struct avg_latency_bucket { - unsigned long latency; /* ns / 1024 */ - bool valid; -}; - struct throtl_data { /* service tree for active throtl groups */ -- 2.45.1