From de446ccf180575db3fe85d4bca468848faee359f Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Fri, 4 Jun 2021 23:35:44 +0800 Subject: [PATCH] platform: andes/ae350: Drop plicsw_get_pending() This is not used anywhere. Drop it. Signed-off-by: Bin Meng Reviewed-by: Anup Patel --- platform/andes/ae350/plicsw.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/platform/andes/ae350/plicsw.c b/platform/andes/ae350/plicsw.c index 4df7317..edbbb11 100644 --- a/platform/andes/ae350/plicsw.c +++ b/platform/andes/ae350/plicsw.c @@ -33,12 +33,6 @@ static inline void plicsw_complete(void) writel(source, plicsw_dev[source_hart].plicsw_claim); } -static inline u32 plicsw_get_pending(u32 source_hart, u32 target_hart) -{ - return readl(plicsw_dev[source_hart].plicsw_pending) - & (PLICSW_HART_MASK >> target_hart); -} - static inline void plic_sw_pending(u32 target_hart) { /* -- 2.7.4