aboutsummaryrefslogtreecommitdiffstats
path: root/src/sim/card_fs_isim.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2014-05-04 16:30:46 +0200
committerHarald Welte <laforge@gnumonks.org>2014-10-26 19:09:24 +0100
commit30115dbd72e121b6b5c29a8224419cc554024b95 (patch)
treef73e6d8f19f14736124de79f20da3b8ed86846d7 /src/sim/card_fs_isim.c
parent171c5b1ec7fef03ded86a44ba8a19fdf974abc6f (diff)
sim: Only one default_decode() function for all card types
Diffstat (limited to 'src/sim/card_fs_isim.c')
-rw-r--r--src/sim/card_fs_isim.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/sim/card_fs_isim.c b/src/sim/card_fs_isim.c
index d8699e89..339e8627 100644
--- a/src/sim/card_fs_isim.c
+++ b/src/sim/card_fs_isim.c
@@ -46,17 +46,6 @@ static const struct osim_card_sw *isim_card_sws[] = {
NULL
};
-static int default_decode(struct osim_decoded_data *dd,
- const struct osim_file_desc *desc,
- int len, uint8_t *data)
-{
- struct osim_decoded_element *elem;
-
- elem = element_alloc(dd, "Unknown Payload", ELEM_T_BYTES, ELEM_REPR_HEX);
- elem->u.buf = talloc_memdup(elem, data, len);
-
- return 0;
-}
/* TS 31.103 Version 11.2.0 Release 11 / Chapoter 4.2 */
static const struct osim_file_desc isim_ef_in_adf_isim[] = {
EF_TRANSP_N(0x6F02, 0x02, "EF.IMPI", 0, 1, 256,