sensor-plugin-tm1: remove useless lock
[platform/hal/backend/tm1/sensor-tm1.git] / src / interface / sensor_hal_base.cpp
index 30147c9..d50d59d 100644 (file)
@@ -28,8 +28,6 @@ using std::ofstream;
 using std::fstream;
 using std::string;
 
-cmutex sensor_hal_base::m_shared_mutex;
-
 sensor_hal_base::sensor_hal_base()
 {
 }
@@ -211,8 +209,6 @@ bool sensor_hal_base::set_enable_node(const string &node_path, bool sensorhub_co
 {
        int prev_status, status;
 
-       AUTOLOCK(m_shared_mutex);
-
        if (!get_node_value(node_path, prev_status)) {
                ERR("Failed to get node: %s", node_path.c_str());
                return false;