diff options
author | Kevin Tang <zhikait@codeaurora.org> | 2018-10-31 14:22:22 -0700 |
---|---|---|
committer | Kevin Tang <zhikait@codeaurora.org> | 2018-10-31 22:31:03 -0700 |
commit | 84a25954a72d6120ab340a01b3c92f8a0f77920f (patch) | |
tree | 9b494e2e92c3ae86b4a9d0232338f50460d71f7d /utils | |
parent | 21b9c4e47ed5811f53d764c38943e3b971bde5e8 (diff) | |
download | gps-84a25954a72d6120ab340a01b3c92f8a0f77920f.tar.gz |
remove LOC_MODEM_EMULATOR from gps.utils
Move LOC_MODEM_EMULATOR reading out of libgps.utils,
as utils is being use by the whole world, and nobody
but one cares about this valude.
Change-Id: I95ad52222172c3f31e8013dd4d917713392e1a4d
CRs-Fixed: 2343169
Diffstat (limited to 'utils')
-rw-r--r-- | utils/loc_cfg.cpp | 13 | ||||
-rw-r--r-- | utils/loc_cfg.h | 2 |
2 files changed, 0 insertions, 15 deletions
diff --git a/utils/loc_cfg.cpp b/utils/loc_cfg.cpp index af2ece6..71dfc66 100644 --- a/utils/loc_cfg.cpp +++ b/utils/loc_cfg.cpp @@ -57,14 +57,12 @@ /* Parameter data */ static uint32_t DEBUG_LEVEL = 0xff; static uint32_t TIMESTAMP = 0; -static uint32_t LOC_MODEM_EMULATOR = 0; /* Parameter spec table */ static const loc_param_s_type loc_param_table[] = { {"DEBUG_LEVEL", &DEBUG_LEVEL, NULL, 'n'}, {"TIMESTAMP", &TIMESTAMP, NULL, 'n'}, - {"LOC_MODEM_EMULATOR", &LOC_MODEM_EMULATOR, NULL, 'n'}, }; static const int loc_param_num = sizeof(loc_param_table) / sizeof(loc_param_s_type); @@ -88,17 +86,6 @@ const char LOC_PATH_XTWIFI_CONF[] = LOC_PATH_XTWIFI_CONF_STR; const char LOC_PATH_QUIPC_CONF[] = LOC_PATH_QUIPC_CONF_STR; /*=========================================================================== -FUNCTION loc_modem_emulator_enabled - -DESCRIPTION - Provides access to Modem Emulator config item. -===========================================================================*/ -uint32_t loc_modem_emulator_enabled() -{ - return LOC_MODEM_EMULATOR; -} - -/*=========================================================================== FUNCTION loc_set_config_entry DESCRIPTION diff --git a/utils/loc_cfg.h b/utils/loc_cfg.h index 3057abc..a8bdaed 100644 --- a/utils/loc_cfg.h +++ b/utils/loc_cfg.h @@ -133,8 +133,6 @@ extern const char LOC_PATH_QUIPC_CONF[]; int loc_read_process_conf(const char* conf_file_name, uint32_t * process_count_ptr, loc_process_info_s_type** process_info_table_ptr); -uint32_t loc_modem_emulator_enabled(); - #ifdef __cplusplus } #endif |