Skip to contentSkip to conversation

arm64: dovetail: Drop unused mkipi_oob under IRQ_PIPLINE=n

PATCH Applied Jan Kiszka 2 participants 2 messages Nov 15 – Nov 18 arm64

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 arm64: dovetail: Drop unused mkipi_oob under IRQ_PIPLINE=n

From: Jan Kiszka <[email protected]>

Not used in this configuration as there is no OOB then.

---
 arch/arm64/kernel/smp.c | 6 ------
 1 file changed, 6 deletions(-)
arch/arm64/kernel/smp.c +0 -6
index d018226c17256..ceb9840c35eec 100644
@@ -1166,12 +1166,6 @@ static inline struct ipi_index mkipi_inband(unsigned int ipi,
 	return (struct ipi_index){ .sgi = ipi };
 }
 
-static inline struct ipi_index mkipi_oob(unsigned int ipi)
-{
-	WARN_ON_ONCE(1);
-	return (struct ipi_index){ .sgi = ipi };
-}
-
 static inline void ipi_setup_oob_sgi(void)
 { }
 
Signature · 1 line
2.47.3
#1 lore raw
Quoted 15 lines · Jan Kiszka

From: Jan Kiszka <[email protected]>

Not used in this configuration as there is no OOB then.

---
 arch/arm64/kernel/smp.c | 6 ------
 1 file changed, 6 deletions(-)
arch/arm64/kernel/smp.c +0 -0
index d018226c17256..ceb9840c35eec 100644
@@ -1166,12 +1166,6 @@ static inline struct ipi_index mkipi_inband(unsigned int ipi,
 	return (struct ipi_index){ .sgi = ipi };

arch/arm64/kernel/smp.c static inline struct ipi_index mkipi_inband(unsigned int ipi, · line 1170

Quoted 10 lines
arch/arm64/kernel/smp.c +0 -6
 }
 
-static inline struct ipi_index mkipi_oob(unsigned int ipi)
-{
-	WARN_ON_ONCE(1);
-	return (struct ipi_index){ .sgi = ipi };
-}
-
 static inline void ipi_setup_oob_sgi(void)
 { }

Merged, thanks.

Signature · 1 line
Philippe.