summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-10 10:39:09 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-10 10:39:09 +0200
commit8a3e8c1dbe8e55bc9c5530b9c88390b4d2353766 (patch)
treeed2bde763783df5e1696e7af24270724027d9fa0
parent1c1b08251fd4753859cf06813dc51b2d1c66c9de (diff)
downloadrtems-8a3e8c1dbe8e55bc9c5530b9c88390b4d2353766.tar.bz2
bsp/stm32f4: Fix warning
-rw-r--r--c/src/lib/libbsp/arm/stm32f4/i2c/i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/arm/stm32f4/i2c/i2c.c b/c/src/lib/libbsp/arm/stm32f4/i2c/i2c.c
index 38877a4615..1d0a409455 100644
--- a/c/src/lib/libbsp/arm/stm32f4/i2c/i2c.c
+++ b/c/src/lib/libbsp/arm/stm32f4/i2c/i2c.c
@@ -208,8 +208,6 @@ static void stm32f4_i2c_handler(void *arg)
static rtems_status_code i2c_wait_done(stm32f4_i2c_bus_entry *e)
{
- rtems_status_code sc = RTEMS_SUCCESSFUL;
-
bsp_interrupt_vector_enable(e->vector);
e->task_id = rtems_task_self();
return rtems_event_transient_receive(RTEMS_WAIT, RTEMS_NO_TIMEOUT);