mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
remove unused function process_do_error()
Change-Id: I02bc23a340b086b0de4e69affb6f965bff6bbc0b
This commit is contained in:
@@ -385,19 +385,6 @@ static int process_do_pts(struct cardem_inst *ci, uint8_t *buf, int len)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*! \brief Process a ERROR indication message from the SIMtrace2 */
|
||||
static int process_do_error(struct cardem_inst *ci, uint8_t *buf, int len)
|
||||
{
|
||||
struct cardemu_usb_msg_error *err;
|
||||
err = (struct cardemu_usb_msg_error *) buf;
|
||||
|
||||
printf("=> ERROR: %u/%u/%u: %s\n",
|
||||
err->severity, err->subsystem, err->code,
|
||||
err->msg_len ? (char *)err->msg : "");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*! \brief Process a RX-DATA indication message from the SIMtrace2 */
|
||||
static int process_do_rx_da(struct cardem_inst *ci, uint8_t *buf, int len)
|
||||
{
|
||||
@@ -447,12 +434,6 @@ static int process_do_rx_da(struct cardem_inst *ci, uint8_t *buf, int len)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if 0
|
||||
case SIMTRACE_CMD_DO_ERROR
|
||||
rc = process_do_error(ci, buf, len);
|
||||
break;
|
||||
#endif
|
||||
|
||||
/*! \brief Process an incoming message from the SIMtrace2 */
|
||||
static int process_usb_msg(struct cardem_inst *ci, uint8_t *buf, int len)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user