]> www.infradead.org Git - users/hch/xfs.git/commit
mailbox: zynqmp-ipi: drop irq_to_desc() call
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 May 2024 12:02:35 +0000 (14:02 +0200)
committerJassi Brar <jassisinghbrar@gmail.com>
Fri, 31 May 2024 17:39:15 +0000 (12:39 -0500)
commitd551ce15d08114514d489fad63bd275de2aca862
tree44281e27e5e5f234d1b1a24c48a7992669062126
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
mailbox: zynqmp-ipi: drop irq_to_desc() call

irq_to_desc() is not exported to loadable modules, so this driver now
fails to link in some configurations:

ERROR: modpost: "irq_to_desc" [drivers/mailbox/zynqmp-ipi-mailbox.ko] undefined!

I can't see a purpose for this call, since the return value is unused
and probably left over from some code refactoring.

Address the link failure by just removing the line.

Fixes: 6ffb1635341b ("mailbox: zynqmp: handle SGI for shared IPI")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Tanmay Shah <tanmay.shah@amd.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/zynqmp-ipi-mailbox.c