Skip to content
Permalink
Browse files

Bluetooth: Remove unused bt_hci_get_cmd_opcode() function

This function has no users in the tree.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
  • Loading branch information...
jhedberg committed Jun 19, 2019
1 parent a16d513 commit 72e80104c1ac2ca61c4192edf3533ccca510959a
Showing with 0 additions and 7 deletions.
  1. +0 −5 subsys/bluetooth/host/hci_core.c
  2. +0 −2 subsys/bluetooth/host/hci_core.h
@@ -5843,11 +5843,6 @@ int bt_br_set_discoverable(bool enable)
}
#endif /* CONFIG_BT_BREDR */

u16_t bt_hci_get_cmd_opcode(struct net_buf *buf)
{
return cmd(buf)->opcode;
}

#if defined(CONFIG_BT_ECC)
int bt_pub_key_gen(struct bt_pub_key_cb *new_cb)
{
@@ -189,8 +189,6 @@ bool bt_addr_le_is_bonded(u8_t id, const bt_addr_le_t *addr);

int bt_send(struct net_buf *buf);

u16_t bt_hci_get_cmd_opcode(struct net_buf *buf);

/* Don't require everyone to include keys.h */
struct bt_keys;
void bt_id_add(struct bt_keys *keys);

0 comments on commit 72e8010

Please sign in to comment.
You can’t perform that action at this time.