Remove unused GIOChannel
[connman] / 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;
 }