summaryrefslogtreecommitdiffstats
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/device.c b/src/device.c
index 68008ead..dcd1b854 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1892,9 +1892,6 @@ void device_cancel_bonding(struct btd_device *device, uint8_t status)
reply = new_authentication_return(bonding->msg, status);
g_dbus_send_message(bonding->conn, reply);
- if (device->bonding->io_id)
- g_source_remove(device->bonding->io_id);
-
bonding_request_free(bonding);
}