From db46ee952bdf71ee039adf1bcf549968763f7a40 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 13 Sep 2009 15:39:19 +0000 Subject: [PATCH] Removed unnecessary cast. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1165 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/ARMCM3/chcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/ports/GCC/ARMCM3/chcore.c b/os/ports/GCC/ARMCM3/chcore.c index bf7dd3f15..fbf201a56 100644 --- a/os/ports/GCC/ARMCM3/chcore.c +++ b/os/ports/GCC/ARMCM3/chcore.c @@ -156,7 +156,7 @@ void PendSVVector(void) { PUSH_CONTEXT(sp_thd); (otp = currp)->p_ctx.r13 = sp_thd; - (currp = fifo_remove((void *)&rlist.r_queue))->p_state = PRCURR; + (currp = fifo_remove(&rlist.r_queue))->p_state = PRCURR; chSchReadyI(otp); #if CH_USE_ROUNDROBIN /* set the round-robin time quantum */