From 97399d4027ccd027b3c8756405c7a3fb9cc30f32 Mon Sep 17 00:00:00 2001 From: Timothy Keys Date: Mon, 4 Nov 2024 12:29:43 +0000 Subject: [PATCH] Bluetooth: Host: Remove code causing build error This code is redundant and causes a build error if called more than once. Signed-off-by: Timothy Keys --- tests/bluetooth/host/cs/mocks/hci_core.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/bluetooth/host/cs/mocks/hci_core.c b/tests/bluetooth/host/cs/mocks/hci_core.c index 34ae77164cc..5830c302a47 100644 --- a/tests/bluetooth/host/cs/mocks/hci_core.c +++ b/tests/bluetooth/host/cs/mocks/hci_core.c @@ -9,11 +9,5 @@ #include #include -#include - -struct bt_dev bt_dev = { - .manufacturer = 0x1234, -}; - DEFINE_FAKE_VALUE_FUNC(struct net_buf *, bt_hci_cmd_create, uint16_t, uint8_t); DEFINE_FAKE_VALUE_FUNC(int, bt_hci_cmd_send_sync, uint16_t, struct net_buf *, struct net_buf **);