diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index e2b613615f04ca25931634099cc12ceb44491f47..9ad096880482f2e50cb2b729e86fc98eb975731b 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -258,8 +258,6 @@ static inline tap_state_t jtag_debug_state_machine(const void *tms_buf,
 extern tap_state_t cmd_queue_end_state;         /* finish DR scans in dr_end_state */
 extern tap_state_t cmd_queue_cur_state;         /* current TAP state */
 
-typedef void* error_handler_t;  /* Later on we can delete error_handler_t, but keep it for now to make patches more readable */
-
 struct scan_field_s;
 typedef int (*in_handler_t)(u8* in_value, void* priv, struct scan_field_s* field);