Remove trivial assertion
This commit is contained in:
parent
590b7539bf
commit
dbb8f2a621
@ -10,9 +10,6 @@ static int receive_echo_request(struct ac_session_t* session, struct capwap_pars
|
||||
struct capwap_header_data capwapheader;
|
||||
struct capwap_packet_txmng* txmngpacket;
|
||||
|
||||
ASSERT(session != NULL);
|
||||
ASSERT(packet != NULL);
|
||||
|
||||
/* Check session */
|
||||
response = ac_soap_checkwtpsession(session, session->wtpid);
|
||||
if (response) {
|
||||
|
@ -61,8 +61,6 @@ static struct capwap_packet_txmng* ac_create_discovery_response(struct capwap_pa
|
||||
struct capwap_header_data capwapheader;
|
||||
struct capwap_packet_txmng* txmngpacket;
|
||||
|
||||
ASSERT(packet != NULL);
|
||||
|
||||
/* Check is valid binding */
|
||||
binding = GET_WBID_HEADER(packet->rxmngpacket->header);
|
||||
if (!ac_valid_binding(binding)) {
|
||||
|
Loading…
Reference in New Issue
Block a user