build fix: remove dead code
authorOleksij Rempel <linux@rempel-privat.de>
Mon, 8 Apr 2013 07:59:57 +0000 (09:59 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Tue, 9 Apr 2013 14:20:18 +0000 (16:20 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c

index b205a5790b050a580ce2bbbac64e3b0bade19f36..930a14ca1a4941a03ca9be7a6832f662cdb48612 100755 (executable)
@@ -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);