From 89fa89330f54be0bcafa6421fa4802387649e56a Mon Sep 17 00:00:00 2001 From: Ruchit Marathe Date: Mon, 26 Sep 2022 11:09:29 +0530 Subject: [PATCH] sm7125-common: Decommonise bluetooth device name --- bluetooth/include/bdroid_buildcfg.h | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/bluetooth/include/bdroid_buildcfg.h b/bluetooth/include/bdroid_buildcfg.h index 0e588dc..b7c24f3 100644 --- a/bluetooth/include/bdroid_buildcfg.h +++ b/bluetooth/include/bdroid_buildcfg.h @@ -23,32 +23,6 @@ #ifndef _BDROID_BUILDCFG_H #define _BDROID_BUILDCFG_H -#pragma push_macro("PROPERTY_VALUE_MAX") - -#if !defined(OS_GENERIC) -#include -#include - -static inline const char* getBTDefaultName() -{ - char device[PROPERTY_VALUE_MAX]; - property_get("ro.product.device", device, ""); - - if (!strcmp("a52q", device)) { - return "Galaxy A52 4G"; - } - - if (!strcmp("a72q", device)) { - return "Galaxy A72 4G"; - } - - return "Samsung Galaxy"; -} - -#define BTM_DEF_LOCAL_NAME getBTDefaultName() -#endif /* OS_GENERIC */ - - #define BLE_VND_INCLUDED TRUE #define MAX_ACL_CONNECTIONS 16 #define MAX_L2CAP_CHANNELS 32 @@ -56,6 +30,4 @@ static inline const char* getBTDefaultName() #define AVDT_NUM_SEPS 35 -#pragma pop_macro("PROPERTY_VALUE_MAX") - #endif