aboutsummaryrefslogtreecommitdiffstats
path: root/attrib/client.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2010-08-19 18:02:43 -0300
committerJohan Hedberg <johan.hedberg@nokia.com>2010-08-27 23:52:42 +0300
commitd63726493c71ff5f4c086d8f79d951fa53a7b6c2 (patch)
tree7a5f2dd3d8d06d8df178f2e03d9ba9306da610ba /attrib/client.c
parent08f1b750295cda5beaa4d948f499cd7c93b85f70 (diff)
downloadbluez-d63726493c71ff5f4c086d8f79d951fa53a7b6c2.tar.gz
bluez-d63726493c71ff5f4c086d8f79d951fa53a7b6c2.tar.xz
bluez-d63726493c71ff5f4c086d8f79d951fa53a7b6c2.zip
Remove unused GIOChannel reference from gatt service structure
Diffstat (limited to 'attrib/client.c')
-rw-r--r--attrib/client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/attrib/client.c b/attrib/client.c
index f2e8766d..ec9c0fd9 100644
--- a/attrib/client.c
+++ b/attrib/client.c
@@ -52,7 +52,6 @@ struct gatt_service {
bdaddr_t sba;
bdaddr_t dba;
char *path;
- GIOChannel *io;
GSList *primary;
GAttrib *attrib;
int psm;
@@ -975,7 +974,6 @@ static void connect_cb(GIOChannel *chan, GError *gerr, gpointer user_data)
return;
fail:
- g_io_channel_unref(gatt->io);
gatt_service_free(gatt);
}
@@ -1028,8 +1026,6 @@ int attrib_client_register(bdaddr_t *sba, bdaddr_t *dba, const char *path,
return -1;
}
- gatt->io = io;
-
return 0;
}