OSDN Git Service

android/socket: Remove unneeded code
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Thu, 28 Nov 2013 14:38:06 +0000 (16:38 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 29 Nov 2013 08:30:16 +0000 (10:30 +0200)
The flag is already set in bt_io_listen.

android/socket.c

index 8ffa530..4f47861 100644 (file)
@@ -696,8 +696,6 @@ static int handle_listen(void *buf)
 
        rfsock->real_sock = g_io_channel_unix_get_fd(io);
 
-       /* TODO: Add server watch */
-       g_io_channel_set_close_on_unref(io, TRUE);
        g_io_channel_unref(io);
 
        DBG("real_sock %d fd %d hal_fd %d", rfsock->real_sock, rfsock->fd,