diff options
Diffstat (limited to 'src/libgsmd/libgsmd_voicecall.c')
-rw-r--r-- | src/libgsmd/libgsmd_voicecall.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/libgsmd/libgsmd_voicecall.c b/src/libgsmd/libgsmd_voicecall.c index d6965fa..d78fb3d 100644 --- a/src/libgsmd/libgsmd_voicecall.c +++ b/src/libgsmd/libgsmd_voicecall.c @@ -28,24 +28,6 @@ #include "lgsm_internals.h" -int lgsm_send_simple(struct lgsm_handle *lh, int type, int sub_type) -{ - struct gsmd_msg_hdr *gmh; - int rc; - - gmh = lgsm_gmh_fill(type, sub_type, 0); - if (!gmh) - return -ENOMEM; - rc = lgsm_send(lh, gmh); - if (rc < gmh->len + sizeof(*gmh)) { - lgsm_gmh_free(gmh); - return -EIO; - } - lgsm_gmh_free(gmh); - - return 0; -} - int lgsm_voice_out_init(struct lgsm_handle *lh, const struct lgsm_addr *number) { |