Diff between 2d0982624cdc17afc1e3e00e885cef2ab315cd7e and c47c31df01f28e75b183fceeb120b5dc78544e5c
Changed Files
| File | Additions | Deletions | Status |
| src/device.c | +0 | -2 | modified |
Full Patch
diff --git a/src/device.c b/src/device.c
index 5f67610..18beed9 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1060,8 +1060,6 @@ static int connect_next(struct btd_device *dev)
int err = -ENOENT;
while (dev->pending) {
- int err;
-
profile = dev->pending->data;
err = profile->connect(dev, profile);