OSDN Git Service

Removed duplicate (re)define of BTA_DM_SDP_DB_SIZE
authorPavlin Radoslavov <pavlin@google.com>
Mon, 14 Mar 2016 17:06:45 +0000 (10:06 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 25 Mar 2016 20:17:26 +0000 (13:17 -0700)
Removed conditional duplicate re-define of BTA_DM_SDP_DB_SIZE.
BTA_DM_SDP_DB_SIZE has been already (conditionally) defined to 8000
in file include/bt_target.h

The conditional re-define of BTA_DM_SDP_DB_SIZE to a smaller
value (250) in file bta/dm/bta_dm_int.h should be removed, because
it is confusing and error-prone.

Change-Id: Id10a45562c7c57fd0a9131ef50b7b7a5c2801ec5

bta/dm/bta_dm_int.h

index 057a13a..a5fe0ad 100644 (file)
@@ -902,10 +902,6 @@ typedef struct
 
 } tBTA_DM_CB;
 
-#ifndef BTA_DM_SDP_DB_SIZE
-#define BTA_DM_SDP_DB_SIZE 250
-#endif
-
 /* DM search control block */
 typedef struct
 {