From 45cbaaa8feabb64d7f0f4e418ad000c0ef642adb Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sat, 6 Apr 2013 17:49:54 +0200 Subject: [PATCH] build fix: remove unused variables in usb_api_patch.c Signed-off-by: Oleksij Rempel --- target_firmware/magpie_fw_dev/build/utility/bin/.empty | 0 target_firmware/magpie_fw_dev/target/rompatch/usb_api_patch.c | 4 ---- 2 files changed, 4 deletions(-) delete mode 100644 target_firmware/magpie_fw_dev/build/utility/bin/.empty diff --git a/target_firmware/magpie_fw_dev/build/utility/bin/.empty b/target_firmware/magpie_fw_dev/build/utility/bin/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target_firmware/magpie_fw_dev/target/rompatch/usb_api_patch.c b/target_firmware/magpie_fw_dev/target/rompatch/usb_api_patch.c index 872b50d..df00a4b 100755 --- a/target_firmware/magpie_fw_dev/target/rompatch/usb_api_patch.c +++ b/target_firmware/magpie_fw_dev/target/rompatch/usb_api_patch.c @@ -434,7 +434,6 @@ ERR_DONE: static void turn_off_merlin() { volatile uint32_t default_data[9]; - volatile uint32_t read_data = 0; uint32_t i=0; if(1) @@ -553,7 +552,6 @@ volatile uint32_t gpio = 0x0; */ void zfTurnOffPower_patch(void) { - uint32_t i=0; A_PRINTF("+++ goto suspend ......\n"); // setting the go suspend here, power down right away... @@ -605,8 +603,6 @@ void zfResetUSBFIFO_patch(void) static void _fw_reset_dma_fifo() { - int i; - HAL_BYTE_REG_WRITE(0x100ae, (HAL_BYTE_REG_READ(0x100ae)|0x10)); HAL_BYTE_REG_WRITE(0x100ae, (HAL_BYTE_REG_READ(0x100af)|0x10)); A_PRINTF("_fw_reset_dma_fifo\n"); -- 2.25.1