projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47cbd5d
)
soc: fsl: qe: remove unused qe_ic_from_irq function
author
Tom Rix
<trix@redhat.com>
Mon, 20 Mar 2023 12:52:02 +0000
(08:52 -0400)
committer
Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org>
Fri, 9 May 2025 14:26:58 +0000
(16:26 +0200)
clang with W=1 reports
drivers/soc/fsl/qe/qe_ic.c:235:29: error: unused function 'qe_ic_from_irq' [-Werror,-Wunused-function]
The use of this function was removed with
commit
d7c2878cfcfa
("soc: fsl: qe: remove unused qe_ic_set_* functions")
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link:
https://lore.kernel.org/r/20230320125202.1721775-1-trix@redhat.com
Link:
https://lore.kernel.org/all/1619002613-18216-1-git-send-email-jiapeng.chong@linux.alibaba.com/
[krzk: Adjust commit msg]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/soc/fsl/qe/qe_ic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/soc/fsl/qe/qe_ic.c
b/drivers/soc/fsl/qe/qe_ic.c
index 77bf0e83ffccc1e1e6050c3bc6b785deb032c768..7eab15553f2fab0fa286d61db8aa13c66b6e6f1d 100644
(file)
--- a/
drivers/soc/fsl/qe/qe_ic.c
+++ b/
drivers/soc/fsl/qe/qe_ic.c
@@
-232,11
+232,6
@@
static inline void qe_ic_write(__be32 __iomem *base, unsigned int reg,
iowrite32be(value, base + (reg >> 2));
}
-static inline struct qe_ic *qe_ic_from_irq(unsigned int virq)
-{
- return irq_get_chip_data(virq);
-}
-
static inline struct qe_ic *qe_ic_from_irq_data(struct irq_data *d)
{
return irq_data_get_irq_chip_data(d);