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

Commit abecd059 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov
Browse files

Removed unused *_DYNAMIC_MEMORY conditional statements

Test: compilation from the top-level directory
Change-Id: I181e6ae2e71c232ca0dc733dabda5cb0fc2672d8
parent c44eee54
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -34,9 +34,6 @@

#include "bt_types.h"   /* This must be defined AFTER buildcfg.h */

/* Include common GKI definitions used by this platform */
#include "dyn_mem.h"    /* defines static and/or dynamic memory for components */

//------------------Added from bdroid_buildcfg.h---------------------
#ifndef L2CAP_EXTFEA_SUPPORTED_MASK
#define L2CAP_EXTFEA_SUPPORTED_MASK (L2CAP_EXTFEA_ENH_RETRANS | L2CAP_EXTFEA_STREAM_MODE | L2CAP_EXTFEA_NO_CRC | L2CAP_EXTFEA_FIXED_CHNLS)
+0 −2
Original line number Diff line number Diff line
@@ -42,9 +42,7 @@
/*****************************************************************************
**  Global data
*****************************************************************************/
#if (A2DP_DYNAMIC_MEMORY == FALSE)
tA2DP_CB a2dp_cb;
#endif


/******************************************************************************
+1 −6
Original line number Diff line number Diff line
@@ -63,12 +63,7 @@ typedef struct
/******************************************************************************
** Main Control Block
*******************************************************************************/
#if (A2DP_DYNAMIC_MEMORY == FALSE)
extern tA2DP_CB a2dp_cb;
#else
extern tA2DP_CB *a2dp_cb_ptr;
#define a2dp_cb (*a2dp_cb_ptr)
#endif

/* Used only for conformance testing */
extern void a2dp_set_avdt_sdp_ver (uint16_t avdt_sdp_ver);
+0 −2
Original line number Diff line number Diff line
@@ -34,9 +34,7 @@
#include "avct_int.h"

/* Control block for AVCT */
#if (AVCT_DYNAMIC_MEMORY == FALSE)
tAVCT_CB avct_cb;
#endif

/*******************************************************************************
**
+0 −5
Original line number Diff line number Diff line
@@ -215,12 +215,7 @@ extern tAVCT_CCB *avct_ccb_by_idx(uint8_t idx);
*****************************************************************************/

/* Main control block */
#if (AVCT_DYNAMIC_MEMORY == FALSE)
extern tAVCT_CB avct_cb;
#else
extern tAVCT_CB *avct_cb_ptr;
#define avct_cb (*avct_cb_ptr)
#endif

/* L2CAP callback registration structure */
extern const tL2CAP_APPL_INFO avct_l2c_appl;
Loading