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

Commit 4127e57d authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Remove logging from osi/hashmap_utils am: 61f4738d

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1736641

Change-Id: Ib923259755e43e36c4a13376f6f8f181dfe09efa
parents b3ea252a 61f4738d
Loading
Loading
Loading
Loading
+3 −10
Original line number Diff line number Diff line
@@ -15,15 +15,12 @@
 *  limitations under the License.
 *
 ******************************************************************************/
#define LOG_TAG "hash_map_utils"

#include "osi/include/hash_map_utils.h"

#include <base/logging.h>
#include <string.h>

#include <base/logging.h>  // CHECK()
#include <map>
#include <string>
#include "osi/include/allocator.h"
#include "osi/include/log.h"
#include "osi/include/osi.h"

std::unordered_map<std::string, std::string>
@@ -35,8 +32,6 @@ hash_map_utils_new_from_string_params(const char* params) {
  char* str = osi_strdup(params);
  if (!str) return map;

  LOG_VERBOSE("%s: source string: '%s'", __func__, str);

  // Parse |str| and add extracted key-and-value pair(s) in |map|.
  int items = 0;
  char* tmpstr;
@@ -69,8 +64,6 @@ hash_map_utils_new_from_string_params(const char* params) {
    kvpair = strtok_r(NULL, ";", &tmpstr);
  }

  if (!items) LOG_VERBOSE("%s: no items found in string\n", __func__);

  osi_free(str);
  return map;
}