From: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
To: tglx@linutronix.de
Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Subject: [PATCH 3/3] genirq: Remove irq_chip_regs::polarity
Date: Thu, 8 Aug 2024 12:41:18 +0200 [thread overview]
Message-ID: <20240808104118.430670-3-jirislaby@kernel.org> (raw)
In-Reply-To: <20240808104118.430670-1-jirislaby@kernel.org>
The polarity member of struct irq_chip_regs is unused. Remove it along
with its kernel-doc.
Found by https://github.com/jirislaby/clang-struct.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
include/linux/irq.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/irq.h b/include/linux/irq.h
index 00490d6ead65..fa711f80957b 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -991,7 +991,6 @@ void irq_init_desc(unsigned int irq);
* @ack: Ack register offset to reg_base
* @eoi: Eoi register offset to reg_base
* @type: Type configuration register offset to reg_base
- * @polarity: Polarity configuration register offset to reg_base
*/
struct irq_chip_regs {
unsigned long enable;
@@ -1000,7 +999,6 @@ struct irq_chip_regs {
unsigned long ack;
unsigned long eoi;
unsigned long type;
- unsigned long polarity;
};
/**
--
2.46.0
next prev parent reply other threads:[~2024-08-08 10:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-08 10:41 [PATCH 1/3] genirq/irq_sim: Remove unused irq_sim_work_ctx::irq_base Jiri Slaby (SUSE)
2024-08-08 10:41 ` [PATCH 2/3] genirq: Remove unused irq_chip_generic::{type,polarity}_cache Jiri Slaby (SUSE)
2024-08-08 15:21 ` [tip: irq/core] genirq: Remove unused irq_chip_generic:: {type,polarity}_cache tip-bot2 for Jiri Slaby (SUSE)
2024-08-08 10:41 ` Jiri Slaby (SUSE) [this message]
2024-08-08 15:21 ` [tip: irq/core] genirq: Remove irq_chip_regs:: Polarity tip-bot2 for Jiri Slaby (SUSE)
2024-08-08 11:37 ` [PATCH 1/3] genirq/irq_sim: Remove unused irq_sim_work_ctx::irq_base Bartosz Golaszewski
2024-08-08 15:21 ` [tip: irq/core] genirq/irq_sim: Remove unused irq_sim_work_ctx:: Irq_base tip-bot2 for Jiri Slaby (SUSE)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240808104118.430670-3-jirislaby@kernel.org \
--to=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®