OSDN Git Service

Remove unused #def BTM_MAX_VENDOR_SPECIFIC_LEN
authorChris Manton <cmanton@google.com>
Wed, 9 Sep 2020 06:02:06 +0000 (23:02 -0700)
committerChris Manton <cmanton@google.com>
Thu, 17 Sep 2020 15:00:02 +0000 (08:00 -0700)
Towards readable code

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: If93c2b232e9736728fd4dccc2a10bfa9fbf1365b

stack/include/btm_api_types.h

index 9f47f71..a185ad9 100644 (file)
@@ -28,9 +28,6 @@
 #include "stack/include/smp_api_types.h"
 #include "types/bt_transport.h"
 
-/* Maximum number of bytes allowed for vendor specific command parameters */
-#define BTM_MAX_VENDOR_SPECIFIC_LEN HCI_COMMAND_SIZE
-
 /* Device name of peer (may be truncated to save space in BTM database) */
 typedef uint8_t tBTM_BD_NAME[BTM_MAX_REM_BD_NAME_LEN + 1];