From patchwork Wed Jan 11 10:05:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Bulwahn X-Patchwork-Id: 41877 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3234664wrt; Wed, 11 Jan 2023 02:12:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXue3fnSHdjm+CPvgu7TCHqaShpvSq2F0jQGUzRf/lsOMdpUHr1qiG4I3ZCfIUTh7nga/LMl X-Received: by 2002:a17:907:d50d:b0:801:d6f2:754 with SMTP id wb13-20020a170907d50d00b00801d6f20754mr62712139ejc.52.1673431943995; Wed, 11 Jan 2023 02:12:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673431943; cv=none; d=google.com; s=arc-20160816; b=kea7tZtEWlxJhdlRhLQ9XF/e2GjaPkOmFulG5ZCKYcyIUP7YmxX3s3pCylLUVhEaCM Oty+iXtuS7NutPyEi8PhOAWJYPopkjLL88P4KvaOll+R0vjURec0K0uKU0Ud43Bz34dU RAAKpOgOpDYgYq0ZyYiKE4HB7y+iIZ8gTGtXL/Jb1yCywwUs72IfsRZwbaoIhbr2/OoJ dxxLFxtx5p2BvfjzX+hfzECNgXn+SU0lfZ56q2HaXzHCN30kJWT9Lqh8aGoJxejNVEtK 8mTKJA87JjUe2cKitGc+99RmuumtAV9PKG3aDy+hdE4bg1l7FFsb6PlY4RbSK7mTGUht 3OvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=ORHQd0uW/DYf9xZjyiu2NQW0oYhRtYQlzsx2cCGgO2U=; b=qCA5zENC4V55wf6YIqAKIFnBGz+KhGc1twr6jGLhtuH117CCAqkZiNH/7unH5fdcPe MfrdO80GigmNbGq0bNs/rdZpEQKCUb69yDznhpZmJqHqnKBBZMB3Te35XrZH9Li+NKKj zpsivz2RkJfzn0v9gAakotn8QlGhSsL5xSXzi9/g6pz2nUhu6YOkdH0GTawz70DcTkoR pQSUtf7nMsIvklx1y5Klp4UHhdvPtLyGunoF5W1tV9xlR3GPFE2jXTXc3lm6P0joeGRc S7G/TpLQzJuKjRzxnPoAjygYewBnRLz+v7EYd6wG8AmOlzbf4ngmYuE+vdjxpZas/WR1 UlZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eJccLBIo; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ml21-20020a170906cc1500b0082ad5e78975si3316707ejb.803.2023.01.11.02.12.00; Wed, 11 Jan 2023 02:12:23 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eJccLBIo; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238218AbjAKKKZ (ORCPT + 99 others); Wed, 11 Jan 2023 05:10:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237988AbjAKKKA (ORCPT ); Wed, 11 Jan 2023 05:10:00 -0500 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8762140FB; Wed, 11 Jan 2023 02:06:17 -0800 (PST) Received: by mail-ej1-x62d.google.com with SMTP id fy8so35431256ejc.13; Wed, 11 Jan 2023 02:06:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ORHQd0uW/DYf9xZjyiu2NQW0oYhRtYQlzsx2cCGgO2U=; b=eJccLBIoNknMuHIwnLvBDMZXp3LqxYu3OOzUR0i9bmMS3uC13KM1L7O97ILCFOyEti 2QwqNR5vVxQVkwM5132debeUDhAr/9Xf+gFdhUSCySVuEocpwFzTNzv0/HYhv9nrIqB3 Rr87/E7XZcCFN1BdXBGqYLsZgvg35oOijwZC9+ZmvNWRG0i3L54qo33k9bXqDj9RzqfV zx2u49buCU8xbRlm4fPgEVQOvmdfOSktjy4YqFFDLkXVVjIX0kt12PMBtC5afYJkOM1w G3107iA2NfFDOCInee68RUZH4cfsLB2nbvKwASU+L5++Kpdr0nYh+D4yzpMnWuKuNJ3B CiZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ORHQd0uW/DYf9xZjyiu2NQW0oYhRtYQlzsx2cCGgO2U=; b=Vvtw1nzEXQ4AwkcaRnLtPOxpvw5+jTqVs+DgoanL6GRHeGJj6XRiEVQjEBVIV1dari N+w2o6bucFeXsxZu0TOYS15tdUdygE91iIcNxtWyx2GmwloX5eldawB5OOzCbWnC25uW ieqk8yptBXKBGMFH9VKCT0d3xYAJSyAJxHJBIrnPuLV3iA2zsHI7eB/wkpocN5DKGPgQ woeWYf4UeGX1/j/EirwjPDYn7VqEe/cCFLdGZFSiAl8aR0iBZNF/E3BCk7BC4OpKtobC xaqO1dLL1LSP1VAD9nBHrxG1KTxc5tQwNvOL2aHkjXb8fxpFfz9fCYwFmm+QlGDo4xW8 NMxg== X-Gm-Message-State: AFqh2koKK+jopUoPTQ0XpaAVT63cO82ukBDgnQsnOEGFjjj5tQj/zGxk F9ym5Z08IQQwQ8WZj62qS8jQY6TrJd4= X-Received: by 2002:a17:906:910:b0:7c0:f71b:8b3 with SMTP id i16-20020a170906091000b007c0f71b08b3mr56882076ejd.57.1673431572026; Wed, 11 Jan 2023 02:06:12 -0800 (PST) Received: from felia.fritz.box ([2a02:810d:2a40:1104:a47e:7f3e:6b25:bafb]) by smtp.gmail.com with ESMTPSA id ku21-20020a170907789500b0084d43def70esm3995517ejc.25.2023.01.11.02.06.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 02:06:11 -0800 (PST) From: Lukas Bulwahn To: Thomas Gleixner , Marc Zyngier Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH] irqchip: remove redundant config PCI dependency for config LS_SCFG_MSI Date: Wed, 11 Jan 2023 11:05:54 +0100 Message-Id: <20230111100554.24500-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754720573958762746?= X-GMAIL-MSGID: =?utf-8?q?1754720573958762746?= While reviewing dependencies in some Kconfig files, I noticed the redundant dependency "depends on PCI && PCI_MSI". The config PCI_MSI has always, since its introduction, been dependent on the config PCI. So, it is sufficient to just depend on PCI_MSI, and know that the dependency on PCI is implicitly implied. Reduce the dependencies of config LS_SCFG_MSI. No functional change and effective change of Kconfig dependendencies. Signed-off-by: Lukas Bulwahn --- drivers/irqchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index d79683154f7f..59bcce29b1a4 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -384,7 +384,7 @@ config LS_EXTIRQ config LS_SCFG_MSI def_bool y if SOC_LS1021A || ARCH_LAYERSCAPE - depends on PCI && PCI_MSI + depends on PCI_MSI config PARTITION_PERCPU bool