From patchwork Mon Sep 27 13:59:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 12520031 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66AE5C433EF for ; Mon, 27 Sep 2021 14:10:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 48EB160F46 for ; Mon, 27 Sep 2021 14:10:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234691AbhI0OMW (ORCPT ); Mon, 27 Sep 2021 10:12:22 -0400 Received: from condef-05.nifty.com ([202.248.20.70]:26212 "EHLO condef-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234679AbhI0OMV (ORCPT ); Mon, 27 Sep 2021 10:12:21 -0400 Received: from conuserg-10.nifty.com ([10.126.8.73])by condef-05.nifty.com with ESMTP id 18RE16O3002858 for ; Mon, 27 Sep 2021 23:01:07 +0900 Received: from grover.. (133-32-232-101.west.xps.vectant.ne.jp [133.32.232.101]) (authenticated) by conuserg-10.nifty.com with ESMTP id 18RE07Fw028280; Mon, 27 Sep 2021 23:00:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com 18RE07Fw028280 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1632751208; bh=sbbtG/svmz0yZkoEwS+QEl6uI6SK2Ial4jl+8NYu1LA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vos8ho8ZBYtl4tDKRjKVnFLlrG4eMcLWMlsRfyevV5CUeJGM4sc+REIi4jOtphLAy ZcXhWzgOeax02PeC1EECnKCnLOz61DrKiV6luPpEShHZ/r2zGBzN9kn9SsGPLA2HJ1 YJMkAGLscMy0dl1VAO4Xj2n47sWCtEH4M3nD9LlFMGs5zW0S8MORr18v4rWltNauKh K5WcwaRSs8RUL6imNoZ95bRYaWIeFZDFw7KJNciRs6AsZRtyqUV/ONDmLk+GTGySaV tSktkQ7I1hZHf6fGrpFDITqJD6wuQMxEHSq5UzJeRcX2U/lDSjclMTDnimXwk4rjoS 87d+8U0hErX2g== X-Nifty-SrcIP: [133.32.232.101] From: Masahiro Yamada To: Jens Axboe , linux-block@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada Subject: [RESEND PATCH 1/4] block: remove redundant =y from BLK_CGROUP dependency Date: Mon, 27 Sep 2021 22:59:57 +0900 Message-Id: <20210927140000.866249-2-masahiroy@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210927140000.866249-1-masahiroy@kernel.org> References: <20210927140000.866249-1-masahiroy@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org CONFIG_BLK_CGROUP is a boolean option, that is, its value is 'y' or 'n'. The comparison to 'y' is redundant. Signed-off-by: Masahiro Yamada --- block/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/block/Kconfig b/block/Kconfig index 8e28ae7718bd..1d83504749e7 100644 --- a/block/Kconfig +++ b/block/Kconfig @@ -73,7 +73,7 @@ config BLK_DEV_ZONED config BLK_DEV_THROTTLING bool "Block layer bio throttling support" - depends on BLK_CGROUP=y + depends on BLK_CGROUP select BLK_CGROUP_RWSTAT help Block layer bio throttling support. It can be used to limit @@ -112,7 +112,7 @@ config BLK_WBT_MQ config BLK_CGROUP_IOLATENCY bool "Enable support for latency based cgroup IO protection" - depends on BLK_CGROUP=y + depends on BLK_CGROUP help Enabling this option enables the .latency interface for IO throttling. The IO controller will attempt to maintain average IO latencies below @@ -132,7 +132,7 @@ config BLK_CGROUP_FC_APPID config BLK_CGROUP_IOCOST bool "Enable support for cost model based cgroup IO controller" - depends on BLK_CGROUP=y + depends on BLK_CGROUP select BLK_RQ_IO_DATA_LEN select BLK_RQ_ALLOC_TIME help