platform: andes/ae350: Drop plicsw_get_pending()
authorBin Meng <bmeng.cn@gmail.com>
Fri, 4 Jun 2021 15:35:44 +0000 (23:35 +0800)
committerAnup Patel <anup@brainfault.org>
Fri, 11 Jun 2021 05:50:18 +0000 (11:20 +0530)
This is not used anywhere. Drop it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
platform/andes/ae350/plicsw.c

index 4df7317..edbbb11 100644 (file)
@@ -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)
 {
        /*