From c820a376f5bee6eb9a8c87fb3c4ccd9c84275240 Mon Sep 17 00:00:00 2001 From: Jens Wiklander Date: Wed, 11 Oct 2023 15:59:44 +0200 Subject: [PATCH] drivers: saic: remove stubbed functions With the commit b2d6db21ec5e ("core: interrupt: helper function for raise_pi, raise_sgi, set_affinity") the struct itr_ops .raise_pi, .raise_sgi, and .set_affinity are now optional so remove the stubbed functions. Signed-off-by: Jens Wiklander --- core/drivers/atmel_saic.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/core/drivers/atmel_saic.c b/core/drivers/atmel_saic.c index adf2af7fa78..5989056ffda 100644 --- a/core/drivers/atmel_saic.c +++ b/core/drivers/atmel_saic.c @@ -130,32 +130,12 @@ static void saic_disable(struct itr_chip *chip __unused, size_t it) saic_write_reg(AT91_AIC_IDCR, 1); } -static void saic_raise_pi(struct itr_chip *chip __unused, size_t it __unused) -{ - panic(); -} - -static void saic_raise_sgi(struct itr_chip *chip __unused, size_t it __unused, - uint8_t cpu_mask __unused) -{ - panic(); -} - -static void saic_set_affinity(struct itr_chip *chip __unused, - size_t it __unused, uint8_t cpu_mask __unused) -{ - panic(); -} - static const struct itr_ops saic_ops = { .add = saic_add, .mask = saic_disable, .unmask = saic_enable, .enable = saic_enable, .disable = saic_disable, - .raise_pi = saic_raise_pi, - .raise_sgi = saic_raise_sgi, - .set_affinity = saic_set_affinity, }; static int saic_dt_get_irq(const uint32_t *properties, int len,