Message ID | 20221123060401.20392-11-shikemeng@huawei.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2616203wrr; Tue, 22 Nov 2022 22:09:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf4pB7H7BgHp8jXG0PyZtVeIPce/AO+jopnVwObHq61Nl+Md0nzE+o7r8zQuUYJSjJ+Sq/Xs X-Received: by 2002:a17:907:d042:b0:78c:c893:1965 with SMTP id vb2-20020a170907d04200b0078cc8931965mr21620180ejc.247.1669183780893; Tue, 22 Nov 2022 22:09:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669183780; cv=none; d=google.com; s=arc-20160816; b=idynxgI73v7WapwaUAFrTOAosn9csLm3Pqsk1yWJjzOOze7kwvhHzVUQbhDdZuilzK 5a2eIpdIoIOGh8R3cuJrVPJF3SLXRM1LOJwtwPWf73v8snc+2LM0s5o5cKVGDeZ684hB zI37f+BjbUlAQQ359qIK7Xpd/54toMpdvBIGsxaWoVXa63UVgABResqhXOm3mya/XqA5 Fjvxdi7HxEi2vJjYIW7sKpQr0Rj1JvcS/1T/nRKyZ2y9L2c6VOfyhKNLGUB3uD3DvE3+ gnLj8xeORxWZC9lJLLZlo65ddkiITa4VPuCM2qQ9xGAwsZMx0zY1XygQx5mcCKQtW6CM z/KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=q+nG8Jr6OQf+axS9Hwt5SFNf0VOb9qHj1BIgow/54Ek=; b=NbMb1IRLt0PyIi9dT7zMQxPmlxegkF7+aB2N3kBv09gHJeRP6cGmNYHDuzeskvEZWg nITN1/4fau5iI2rTjwaGrKzXmHtzRh2lNaExF4LC6tgtcuuE2r5i4O8UZIYiKDY6sVKM Gn3HgURgX7Y2QY1Zs4H92y1fOy3MWYUZpVNM8NXr775fMKDL3nFpE8XTezEnuCdha52V WJ95UQhCnAaR/O7UjfYCjIZnH0cXld8cr/KvkZi/OVls5HI1j0mZuKOJ2GpqDp9fzCJ3 fEnJgriKSQCKXDr0tBrsng/n7DS5Rmw7EijaDYj23bYKeacU4EcEpj6hjew+L6BsPA+f Ab2Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s6-20020a05640217c600b004697dff9639si6982767edy.327.2022.11.22.22.09.15; Tue, 22 Nov 2022 22:09:40 -0800 (PST) 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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235946AbiKWGE6 (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Wed, 23 Nov 2022 01:04:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235781AbiKWGEN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 23 Nov 2022 01:04:13 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 116EFF2C05; Tue, 22 Nov 2022 22:04:13 -0800 (PST) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4NH9Y26TlDzHw2Z; Wed, 23 Nov 2022 14:03:34 +0800 (CST) Received: from huawei.com (10.174.178.129) by kwepemi500016.china.huawei.com (7.221.188.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 23 Nov 2022 14:04:10 +0800 From: Kemeng Shi <shikemeng@huawei.com> To: <tj@kernel.org>, <josef@toxicpanda.com>, <axboe@kernel.dk> CC: <cgroups@vger.kernel.org>, <linux-block@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <shikemeng@huawei.com> Subject: [PATCH 10/11] blk-throttle: remove unused variable td in tg_update_has_rules Date: Wed, 23 Nov 2022 14:04:00 +0800 Message-ID: <20221123060401.20392-11-shikemeng@huawei.com> X-Mailer: git-send-email 2.14.1.windows.1 In-Reply-To: <20221123060401.20392-1-shikemeng@huawei.com> References: <20221123060401.20392-1-shikemeng@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.178.129] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemi500016.china.huawei.com (7.221.188.220) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750266052409633668?= X-GMAIL-MSGID: =?utf-8?q?1750266052409633668?= |
Series |
A few bugfix and cleanup patches for blk-throttle
|
|
Commit Message
Kemeng Shi
Nov. 23, 2022, 6:04 a.m. UTC
remove unused variable td in tg_update_has_rules
Signed-off-by: Kemeng Shi <shikemeng@huawei.com>
---
block/blk-throttle.c | 1 -
1 file changed, 1 deletion(-)
Comments
On Wed, Nov 23, 2022 at 02:04:00PM +0800, Kemeng Shi wrote:
> remove unused variable td in tg_update_has_rules
Please merge this into the prev patch.
diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 6f509cadd92b..82fe23e79b4b 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -412,7 +412,6 @@ static void throtl_pd_init(struct blkg_policy_data *pd) static void tg_update_has_rules(struct throtl_grp *tg) { struct throtl_grp *parent_tg = sq_to_tg(tg->service_queue.parent_sq); - struct throtl_data *td = tg->td; int rw; for (rw = READ; rw <= WRITE; rw++) {