Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 396532aa authored by Myles Watson's avatar Myles Watson
Browse files

Remove deprecated UNUSED macro (4/5)

These variables are the unused results of parsing macros.

Test: mma -j32

Change-Id: Id377b8280d8fb7cf1e4a366d8ac10bdb5a09361c
parent df928461
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -559,7 +559,6 @@ void avct_bcb_msg_ind(tAVCT_BCB *p_bcb, tAVCT_LCB_EVT *p_data)

    /* parse header byte */
    AVCT_PARSE_HDR(p, label, type, cr_ipid);
    UNUSED(type);

    /* check for invalid cr_ipid */
    if (cr_ipid == AVCT_CR_IPID_INVALID)
+0 −1
Original line number Diff line number Diff line
@@ -671,7 +671,6 @@ void avct_lcb_msg_ind(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data)

    /* parse header byte */
    AVCT_PARSE_HDR(p, label, type, cr_ipid);
    UNUSED(type);

    /* check for invalid cr_ipid */
    if (cr_ipid == AVCT_CR_IPID_INVALID)
+0 −2
Original line number Diff line number Diff line
@@ -1612,8 +1612,6 @@ void avdt_msg_ind(tAVDT_CCB *p_ccb, BT_HDR *p_buf)
    /* parse the message header */
    AVDT_MSG_PRS_HDR(p, label, pkt_type, msg_type);

    UNUSED(pkt_type);

    AVDT_TRACE_DEBUG("msg_type=%d, sig=%d", msg_type, sig);
    /* set up label and ccb_idx in message hdr */
    msg.hdr.label = label;
+0 −5
Original line number Diff line number Diff line
@@ -253,8 +253,6 @@ void avdt_scb_hdl_pkt_no_frag(tAVDT_SCB *p_scb, tAVDT_SCB_EVT *p_data)
    BE_STREAM_TO_UINT32(time_stamp, p);
    p += 4;

    UNUSED(o_v);

    /* skip over any csrc's in packet */
    p += o_cc * 4;

@@ -331,9 +329,6 @@ uint8_t * avdt_scb_hdl_report(tAVDT_SCB *p_scb, uint8_t *p, uint16_t len)
        p += 2;
        BE_STREAM_TO_UINT32(ssrc, p);

        UNUSED(o_p);
        UNUSED(o_v);

        switch(pt)
        {
        case AVDT_RTCP_PT_SR:   /* the packet type - SR (Sender Report) */