Skip to content

Commit d47f123

Browse files
Tom Rixkrzk
authored andcommitted
soc: fsl: qe: remove unused qe_ic_from_irq function
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 d7c2878 ("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>
1 parent 47cbd5d commit d47f123

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/soc/fsl/qe/qe_ic.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,6 @@ static inline void qe_ic_write(__be32 __iomem *base, unsigned int reg,
232232
iowrite32be(value, base + (reg >> 2));
233233
}
234234

235-
static inline struct qe_ic *qe_ic_from_irq(unsigned int virq)
236-
{
237-
return irq_get_chip_data(virq);
238-
}
239-
240235
static inline struct qe_ic *qe_ic_from_irq_data(struct irq_data *d)
241236
{
242237
return irq_data_get_irq_chip_data(d);

0 commit comments

Comments
 (0)