arm/rtl8720c: Remove up_getsp which is already implemented in arch/arm/arch.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-04-14 05:44:37 +08:00 committed by Petro Karashchenko
parent b3d47e246f
commit a94b7b9cca

View File

@ -82,21 +82,6 @@ static int (* __vectors[NR_IRQS - NVIC_IRQ_FIRST])(void);
* Private Functions
****************************************************************************/
/****************************************************************************
* Name: up_getsp
****************************************************************************/
static inline uint32_t up_getsp(void)
{
uint32_t sp;
__asm__
(
"\tmov %0, sp\n\t"
: "=r"(sp)
);
return sp;
}
/****************************************************************************
* Name: nvic_irqinfo
*