Thread (32 messages) 32 messages, 4 authors, 2013-04-17
STALE4851d
Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

[PATCH 02/13] gatttool: Remove programming error check

From: Alvaro Silva <hidden>
Date: 2013-03-21 22:31:38
Subsystem: the rest · Maintainer: Linus Torvalds

From: Eder Ruiz Maria <redacted>

---
 attrib/utils.c |    5 -----
 1 file changed, 5 deletions(-)
diff --git a/attrib/utils.c b/attrib/utils.c
index f9813d1..c8c8651 100644
--- a/attrib/utils.c
+++ b/attrib/utils.c
@@ -50,11 +50,6 @@ GIOChannel *gatt_connect(const gchar *src, const gchar *dst,
 	GError *err = NULL;
 	BtIOSecLevel sec;
 
-	/* Remote device */
-	if (dst == NULL) {
-		g_printerr("Remote Bluetooth address required\n");
-		return NULL;
-	}
 	str2ba(dst, &dba);
 
 	/* Local adapter */
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help