Bluetooth: controller: Remove unreferenced hci_evt_is_discardable
Remove unreferenced function hci_evt_is_discardable after introduction of hci_get_class function. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
b031d76655
commit
a9a72f7bea
1 changed files with 0 additions and 10 deletions
|
@ -1696,16 +1696,6 @@ void hci_num_cmplt_encode(struct net_buf *buf, u16_t handle, u8_t num)
|
||||||
hc->count = sys_cpu_to_le16(num);
|
hc->count = sys_cpu_to_le16(num);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool hci_evt_is_discardable(struct radio_pdu_node_rx *node_rx)
|
|
||||||
{
|
|
||||||
switch (node_rx->hdr.type) {
|
|
||||||
case NODE_RX_TYPE_REPORT:
|
|
||||||
return true;
|
|
||||||
default:
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
s8_t hci_get_class(struct radio_pdu_node_rx *node_rx)
|
s8_t hci_get_class(struct radio_pdu_node_rx *node_rx)
|
||||||
{
|
{
|
||||||
struct pdu_data *pdu_data;
|
struct pdu_data *pdu_data;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue