From ebc2088382df3148a3b61f7108aa6ffccd7396be Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 9 Nov 2011 23:24:16 +0100 Subject: dfu: Remove unused variable, mark method as not retuning --- firmware/src/dfu/dfu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'firmware/src') diff --git a/firmware/src/dfu/dfu.c b/firmware/src/dfu/dfu.c index f31b9f8..5d6865c 100644 --- a/firmware/src/dfu/dfu.c +++ b/firmware/src/dfu/dfu.c @@ -993,10 +993,8 @@ static __dfufunc void dfu_udp_irq(void) } /* this is only called once before DFU mode, no __dfufunc required */ -static void dfu_switch(void) +static __noreturn void dfu_switch(void) { - AT91PS_AIC pAic = AT91C_BASE_AIC; - DEBUGE("\r\nsam7dfu: switching to DFU mode\r\n"); dfu_state = DFU_STATE_appDETACH; -- cgit v1.2.3