l2cap-ertm: remove dead code

This commit is contained in:
Matthias Ringwald 2017-12-13 17:40:13 +01:00
parent b72f690607
commit b4f171b1aa

View File

@ -158,8 +158,6 @@ static btstack_packet_handler_t l2cap_event_packet_handler;
#ifdef ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
static uint8_t l2cap_ertm_omit_fcs_option;
/*
* CRC lookup table for generator polynom D^16 + D^15 + D^2 + 1
*/
@ -729,10 +727,6 @@ static void l2cap_ertm_handle_in_sequence_sdu(l2cap_channel_t * l2cap_channel, l
}
}
void l2cap_ertm_dont_send_fcs_option(void){
l2cap_ertm_omit_fcs_option = 1;
}
#endif