Return-Path: From: Mariusz Skamra To: linux-bluetooth@vger.kernel.org Cc: Mariusz Skamra Subject: [PATCH 3/5] emulator: Remove duplicated assignment Date: Thu, 27 Aug 2015 17:54:51 +0200 Message-Id: <1440690893-30384-3-git-send-email-mariusz.skamra@tieto.com> In-Reply-To: <1440690893-30384-1-git-send-email-mariusz.skamra@tieto.com> References: <1440690893-30384-1-git-send-email-mariusz.skamra@tieto.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Connection handle has been already assigned few lines earlier. --- emulator/btdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/emulator/btdev.c b/emulator/btdev.c index b285b2a..1f8aa44 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -1130,8 +1130,6 @@ static void le_conn_complete(struct btdev *btdev, const void *cmd, cc->supv_timeout = lecc->supv_timeout; send_event(remote, BT_HCI_EVT_LE_META_EVENT, buf, sizeof(buf)); - - cc->handle = cpu_to_le16(42); } cc->status = status; -- 2.4.3