mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-24 17:28:32 +03:00
simtrace2_api: Remove dead code
Change-Id: Iab393a6cf9ae1218e1554d9c0bfb7aab2cc3c35e
This commit is contained in:
@@ -38,11 +38,8 @@
|
|||||||
|
|
||||||
#include <libusb.h>
|
#include <libusb.h>
|
||||||
|
|
||||||
//#include <osmocom/simtrace2/libusb_util.h>
|
|
||||||
#include <osmocom/simtrace2/simtrace_prot.h>
|
#include <osmocom/simtrace2/simtrace_prot.h>
|
||||||
#include <osmocom/simtrace2/simtrace2_api.h>
|
#include <osmocom/simtrace2/simtrace2_api.h>
|
||||||
//#include "apdu_dispatch.h"
|
|
||||||
//#include "simtrace2-discovery.h"
|
|
||||||
|
|
||||||
#include <osmocom/core/utils.h>
|
#include <osmocom/core/utils.h>
|
||||||
#include <osmocom/core/socket.h>
|
#include <osmocom/core/socket.h>
|
||||||
@@ -60,14 +57,6 @@ static struct msgb *st_msgb_alloc(void)
|
|||||||
return msgb_alloc_headroom(1024+32, 32, "SIMtrace");
|
return msgb_alloc_headroom(1024+32, 32, "SIMtrace");
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
static void apdu_out_cb(uint8_t *buf, unsigned int len, void *user_data)
|
|
||||||
{
|
|
||||||
printf("APDU: %s\n", osmo_hexdump(buf, len));
|
|
||||||
gsmtap_send_sim(buf, len);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*! \brief Transmit a given command to the SIMtrace2 device */
|
/*! \brief Transmit a given command to the SIMtrace2 device */
|
||||||
int osmo_st2_transp_tx_msg(struct osmo_st2_transport *transp, struct msgb *msg)
|
int osmo_st2_transp_tx_msg(struct osmo_st2_transport *transp, struct msgb *msg)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user