diff options
author | Pekka Pessi <Pekka.Pessi@nokia.com> | 2011-01-18 23:27:09 +0200 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2011-01-18 23:34:31 +0200 |
commit | 110083803759e690b97ac5abedf517dd3f018cc5 (patch) | |
tree | 8f276093986d6c6697a0df984a01a88757a33097 /gisi | |
parent | e72e5444af1df26fbe6fa230a5bbc113704f1058 (diff) | |
download | ofono-110083803759e690b97ac5abedf517dd3f018cc5.tar.bz2 |
gisi: remove g_isi_pending_from_msg()
Diffstat (limited to 'gisi')
-rw-r--r-- | gisi/modem.c | 9 | ||||
-rw-r--r-- | gisi/modem.h | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/gisi/modem.c b/gisi/modem.c index f80d671d..87503679 100644 --- a/gisi/modem.c +++ b/gisi/modem.c @@ -156,8 +156,6 @@ static void pending_dispatch(GIsiPending *pend, GIsiMessage *msg) g_isi_msg_resource(msg), g_isi_msg_id(msg), g_isi_msg_utid(msg)); - msg->private = pend; - pend->notify(msg, pend->data); } @@ -177,8 +175,6 @@ static void pending_remove_and_dispatch(GIsiPending *op, GIsiMessage *msg) g_isi_msg_resource(msg), g_isi_msg_id(msg), g_isi_msg_utid(msg)); - msg->private = op; - op->notify(msg, op->data); destroy: @@ -770,11 +766,6 @@ uint8_t g_isi_request_utid(GIsiPending *resp) return resp != NULL ? resp->utid : 0; } -GIsiPending *g_isi_pending_from_msg(const GIsiMessage *msg) -{ - return msg != NULL ? msg->private : NULL; -} - void g_isi_pending_remove(GIsiPending *op) { if (op == NULL) diff --git a/gisi/modem.h b/gisi/modem.h index 0de720d1..f0a1617f 100644 --- a/gisi/modem.h +++ b/gisi/modem.h @@ -107,8 +107,6 @@ int g_isi_response_vsend(GIsiModem *modem, const GIsiMessage *req, const struct iovec *__restrict iov, size_t iovlen); -GIsiPending *g_isi_pending_from_msg(const GIsiMessage *msg); - void g_isi_pending_remove(GIsiPending *op); void g_isi_pending_set_owner(GIsiPending *op, gpointer owner); void g_isi_remove_pending_by_owner(GIsiModem *modem, uint8_t resource, |