From: Oleksij Rempel Date: Mon, 8 Apr 2013 07:59:57 +0000 (+0200) Subject: build fix: remove dead code X-Git-Tag: 1.3.2~7^2~1 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=e9ccf408a84283eae281e6ffa236cd8a3630c046;p=open-ath9k-htc-firmware.git build fix: remove dead code Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c b/target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c index b205a57..930a14c 100755 --- a/target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c +++ b/target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c @@ -613,12 +613,6 @@ int db_patch_cmd(char* cmd, char* param1, char* param2, char* param3) uint32_t delay = 0; -LOCAL void cb_tick() -{ - ; -} - - int db_intr_cmd(char* cmd, char* param1, char* param2, char* param3) { #if SYSTEM_MODULE_INTR @@ -641,8 +635,7 @@ int db_intr_cmd(char* cmd, char* param1, char* param2, char* param3) if (strcmp(param2, "on") == 0 ) { - A_ATTACH_ISR(A_INUM_XTTIMER, cb_tick, NULL); - + /* TODO: this part is probably dead. */ pending_intrs = A_INTR_GET_INTRENABLE()|CMNOS_IMASK_XTTIMER; A_INTR_SET_INTRENABLE(pending_intrs); A_PRINTF("- intr [0x%08x]\n\r", pending_intrs);