summaryrefslogtreecommitdiff
path: root/utils/loc_log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/loc_log.cpp')
-rw-r--r--utils/loc_log.cpp34
1 files changed, 3 insertions, 31 deletions
diff --git a/utils/loc_log.cpp b/utils/loc_log.cpp
index 1b4ecee..8b064ec 100644
--- a/utils/loc_log.cpp
+++ b/utils/loc_log.cpp
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011 Code Aurora Forum. All rights reserved.
+/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -9,7 +9,7 @@
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
- * * Neither the name of Code Aurora Forum, Inc. nor the names of its
+ * * Neither the name of The Linux Foundation, nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
@@ -34,6 +34,7 @@
#include <sys/time.h>
#include "loc_log.h"
#include "msg_q.h"
+
#include "log_util.h"
// Logging Improvements
@@ -99,35 +100,6 @@ const char* log_succ_fail_string(int is_succ)
return is_succ? "successful" : "failed";
}
-//Target names
-loc_name_val_s_type target_name[] =
-{
- NAME_VAL(TARGET_OTHER),
- NAME_VAL(TARGET_APQ8064_STANDALONE),
- NAME_VAL(TARGET_APQ8064_FUSION3),
- NAME_VAL(TARGET_MPQ8064),
- NAME_VAL(TARGET_MSM8930)
-};
-
-static int target_name_num = sizeof(target_name)/sizeof(loc_name_val_s_type);
-
-/*===========================================================================
-
-FUNCTION loc_get_target_name
-
-DESCRIPTION
- Returns pointer to a string that contains name of the target
-
- XX:XX:XX.000\0
-
-RETURN VALUE
- The target name string
-
-===========================================================================*/
-const char *loc_get_target_name(targetEnumType target)
-{
- return loc_get_name_from_val(target_name, target_name_num, (long)target);
-}
/*===========================================================================