[PATCH] tools/sco-tester: Remove not used function argument

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

 



---
 tools/sco-tester.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/sco-tester.c b/tools/sco-tester.c
index 25e4af6..db45ef0 100644
--- a/tools/sco-tester.c
+++ b/tools/sco-tester.c
@@ -415,7 +415,7 @@ end:
 	close(sk);
 }
 
-static int create_sco_sock(struct test_data *data, uint16_t psm)
+static int create_sco_sock(struct test_data *data)
 {
 	const uint8_t *master_bdaddr;
 	struct sockaddr_sco addr;
@@ -514,7 +514,7 @@ static void test_connect(const void *test_data)
 	GIOChannel *io;
 	int sk;
 
-	sk = create_sco_sock(data, 0);
+	sk = create_sco_sock(data);
 	if (sk < 0) {
 		tester_test_failed();
 		return;
@@ -543,7 +543,7 @@ static void test_connect_transp(const void *test_data)
 	int sk, err;
 	struct bt_voice voice;
 
-	sk = create_sco_sock(data, 0);
+	sk = create_sco_sock(data);
 	if (sk < 0) {
 		tester_test_failed();
 		return;
-- 
1.8.5.3

--
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