summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-31 09:56:33 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-31 09:56:33 +0100
commit63a37015b90200aa5dd9a0282dc260ea6d4b5afb (patch)
treea3bf6b1ef286ebd8019bcfad9888e108065df877
parent897f9876936ce0a3f0ae6798725e1162a3e62ff9 (diff)
downloadconnman-63a37015b90200aa5dd9a0282dc260ea6d4b5afb.tar.gz
connman-63a37015b90200aa5dd9a0282dc260ea6d4b5afb.tar.bz2
connman-63a37015b90200aa5dd9a0282dc260ea6d4b5afb.zip
Remove unused GIOChannel
-rw-r--r--plugins/hso.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/hso.c b/plugins/hso.c
index 335655c9..98708ddd 100644
--- a/plugins/hso.c
+++ b/plugins/hso.c
@@ -39,7 +39,6 @@
struct hso_data {
int index;
- GIOChannel *channel;
struct modem_data *modem;
};
@@ -208,9 +207,6 @@ static int hso_disable(struct connman_device *device)
modem_close(data->modem);
- g_io_channel_shutdown(data->channel, TRUE, NULL);
- g_io_channel_unref(data->channel);
-
return 0;
}