Diff between c3dd10b572cdc80641e90ec02bd0f643b3a2eaf4 and 860b8161ea060dc50a402d9ddf5de7fe7b4b49c2

Changed Files

File Additions Deletions Status
src/device.c +0 -3 modified

Full Patch

diff --git a/src/device.c b/src/device.c
index 118538b..b7a3e92 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1658,9 +1658,6 @@ int device_browse_primary(struct btd_device *device, DBusConnection *conn,
 		return -EIO;
 	}
 
-	if (conn == NULL)
-		conn = get_dbus_connection();
-
 	req->conn = dbus_connection_ref(conn);
 	device->browse = req;