From a7e9d922d8f5aa8aa17027365608b1da552e0f37 Mon Sep 17 00:00:00 2001 From: Lukasz Rymanowski Date: Thu, 20 Mar 2014 14:25:09 +0100 Subject: [PATCH] tools/mgmt-tester: Remove dead code --- tools/mgmt-tester.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index 3271e86dc..883116cd6 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -2842,12 +2842,6 @@ static void setup_start_discovery(const void *test_data) const struct generic_data *test = data->test_data; const void *send_param = test->setup_send_param; uint16_t send_len = test->setup_send_len; - unsigned char disc_param[] = { 0x07 }; - - if (!send_param) { - send_param = disc_param; - send_len = 1; - } mgmt_send(data->mgmt, test->setup_send_opcode, data->mgmt_index, send_len, send_param, setup_discovery_callback, -- 2.47.3