[PATCH 2/2] profile: Remove not local variable needed in ext_connect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



src is not used anymore.
---
 src/profile.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/profile.c b/src/profile.c
index b98db36..a085ab2 100644
--- a/src/profile.c
+++ b/src/profile.c
@@ -763,11 +763,9 @@ static void ext_connect(GIOChannel *io, GError *err, gpointer user_data)
 	struct ext_io *conn = user_data;
 	struct ext_profile *ext = conn->ext;
 	GError *io_err = NULL;
-	bdaddr_t src;
 	char addr[18];
 
 	if (!bt_io_get(io, &io_err,
-				BT_IO_OPT_SOURCE_BDADDR, &src,
 				BT_IO_OPT_DEST, addr,
 				BT_IO_OPT_INVALID)) {
 		error("Unable to get connect data for %s: %s", ext->name,
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux