Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2795130rwb; Fri, 9 Dec 2022 06:28:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf4PPV4pNIi21jmyufD4zcfijDttsvfogUmGGYJUvmdFT7PGuaTKpT/sOOE/oD6MjkMk3pk3 X-Received: by 2002:a17:90a:710b:b0:21f:e5c:9852 with SMTP id h11-20020a17090a710b00b0021f0e5c9852mr1828350pjk.1.1670596118295; Fri, 09 Dec 2022 06:28:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670596118; cv=none; d=google.com; s=arc-20160816; b=KTUSWFoYaf9Eb/lNYx3NHkdnOCh1eg36CwVWHsFoKbrEjiAl3RjcPH37/FijlW7/Ea WatQJk8YBJ5nvf9S1WeG2DTsumVkw8vfd4yQlbm4Y8ejeSfin3rG9QbmSRxpE4/VtuGu HcxWmxQssl83JGfMpISBVubjCKycjowerlCFYzQIYnnxiM0DlJmpfHGTbKUyPk+nZgRB zma6J+RQ3wpcIEA/vjdsVckAPfIiS9wytCZH0Dy9mEDQ2/gfhQnahe8d8J9O3FMrSDih 5SYnSYXCBppdMzTmf5eCA7JXZcpRRy9Di/7pY2A6taoMgqv1mxHjcTjz91Vbravgyy13 DOEw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KXI4/2gvWo3JgagVv9QzrshOOsooeMjvWeQoQPWHWvY=; b=fJWjzDpIXE/+5CEtcXp68XpIESBEQZlf2LeP5bK4EvvdKiogZ0BSJqR1QDfNoTltUt EOr9KkYjY0ut/Chz2YFqnkuF+g+hJS/lqWue0Uq9zR3EcngTExOEFhoLhThzsprSTJeM PqO964wEWrhMvPVbxDbXh92x8j36Riy4ul1ZqJdgBR39dm5cIjHvujnURDXlmULiSjxc /MatGrx/kGUD6FW30zHzxa+gkU8xXKgg1JJlKCi4VL/8OfAc2l9qmAVkmS+JoOp77oX3 5Zi125ZqC+zsJka3TdKTO2cRfrDFJBpMraBRGvuYvoKTMIZo5ouAS1KvjEg60OqTBU5v EiQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oUW10l3c; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot10-20020a17090b3b4a00b00219f036dda7si2468214pjb.0.2022.12.09.06.28.27; Fri, 09 Dec 2022 06:28:38 -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=@kernel.org header.s=k20201202 header.b=oUW10l3c; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229731AbiLIOFp (ORCPT + 75 others); Fri, 9 Dec 2022 09:05:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229915AbiLIOFT (ORCPT ); Fri, 9 Dec 2022 09:05:19 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B925278697; Fri, 9 Dec 2022 06:05:16 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 56E77B8287A; Fri, 9 Dec 2022 14:05:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78FADC433A8; Fri, 9 Dec 2022 14:05:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670594713; bh=62Hsw3IDekfs4Ib+zf3Eg7ZV2PJkMIizx7ANGAPQ61c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oUW10l3cUR5KCjF/GgIMN/DD1OxWuDSXZVQ9RNkRUS/Asgqsh1VdeRrLQSK3pynpz XKWY39K9d7/kdxFvjgrK7M9ooqQe5hrXWOw26WLX3M64Bax7q7qGNgLtAb/j6oX5s4 ljnvHXGKiuEPWUJAF2Tds8yM4sscPbl9lPIwfVJAavmMFGq1pnTEFxdngmrlFv/eiY Oh7LAZIABdXx46wqT5m71kfss0mEX1nDulIyEYtm9tsp4kuPYOuxGe5nOX6iibIvuC HMM48lcKLBtgPRwyPlT8iscJlNYXSUZURGu7TzkXaY3YT6FrR8kLkNAmn9mr2W905j 6ve63l3AI9GDA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1p3e0I-0000RT-CB; Fri, 09 Dec 2022 15:05:30 +0100 From: Johan Hovold To: Marc Zyngier Cc: Thomas Gleixner , x86@kernel.org, platform-driver-x86@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH v3 03/19] irqdomain: Drop leftover brackets Date: Fri, 9 Dec 2022 15:01:34 +0100 Message-Id: <20221209140150.1453-4-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221209140150.1453-1-johan+linaro@kernel.org> References: <20221209140150.1453-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Drop some unnecessary brackets that were left in place when the corresponding code was updated. Signed-off-by: Johan Hovold --- kernel/irq/irqdomain.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index fe9ec53fe7aa..dfd60bd49109 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -219,9 +219,8 @@ struct irq_domain *__irq_domain_add(struct fwnode_handle *fwnode, unsigned int s domain->host_data = host_data; domain->hwirq_max = hwirq_max; - if (direct_max) { + if (direct_max) domain->flags |= IRQ_DOMAIN_FLAG_NO_MAP; - } domain->revmap_size = size; @@ -615,9 +614,8 @@ void irq_domain_associate_many(struct irq_domain *domain, unsigned int irq_base, pr_debug("%s(%s, irqbase=%i, hwbase=%i, count=%i)\n", __func__, of_node_full_name(of_node), irq_base, (int)hwirq_base, count); - for (i = 0; i < count; i++) { + for (i = 0; i < count; i++) irq_domain_associate(domain, irq_base + i, hwirq_base + i); - } } EXPORT_SYMBOL_GPL(irq_domain_associate_many); -- 2.37.4