Remove unused GIOChannel
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 31 Dec 2008 08:56:33 +0000 (09:56 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 31 Dec 2008 08:56:33 +0000 (09:56 +0100)
plugins/hso.c

index 335655c..98708dd 100644 (file)
@@ -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;
 }