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:
Vinayak Kariappa Chettimada 2017-05-05 13:12:19 +02:00 committed by Johan Hedberg
commit a9a72f7bea

View file

@ -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);
}
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)
{
struct pdu_data *pdu_data;