diff options
author | TaeminYeom <taemin.yeom@samsung.com> | 2022-01-25 18:25:26 +0900 |
---|---|---|
committer | Hyotaek Shim <hyotaek.shim@samsung.com> | 2022-01-26 08:49:11 +0000 |
commit | 5f79f2bdd1b20e2c8d3e2f352fbc94454b3843bb (patch) | |
tree | a53d833a57cb7e58f9b6515489392f6381f2d416 | |
parent | 407d869a572d412b15643797e0dc637fc1490263 (diff) | |
download | sensor-rpi-accepted/tizen_6.5_unified.tar.gz sensor-rpi-accepted/tizen_6.5_unified.tar.bz2 sensor-rpi-accepted/tizen_6.5_unified.zip |
Remove delete sensor_device classsubmit/tizen_6.5/20220126.105919accepted/tizen/6.5/unified/20220127.132956tizen_6.5accepted/tizen_6.5_unified
These classes are already deleted in sensord
(in sensor_loader destructor)
Change-Id: Icfadf5905aebffbe62918902456fffa21d837368
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
(cherry picked from commit 5423870805121202d23ec8794a7f707ffd70c11a)
-rw-r--r-- | src/accelerometer/hal-backend-sensor-accel.cpp | 3 | ||||
-rw-r--r-- | src/gyroscope/hal-backend-sensor-gyro.cpp | 3 | ||||
-rw-r--r-- | src/magnetometer/hal-backend-sensor-magnet.cpp | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/src/accelerometer/hal-backend-sensor-accel.cpp b/src/accelerometer/hal-backend-sensor-accel.cpp index d105ef7..6a7c362 100644 --- a/src/accelerometer/hal-backend-sensor-accel.cpp +++ b/src/accelerometer/hal-backend-sensor-accel.cpp @@ -36,9 +36,6 @@ static int sensor_exit(void *data) free(data); - if (accel_dev) - delete (accel_device *)accel_dev; - return 0; } diff --git a/src/gyroscope/hal-backend-sensor-gyro.cpp b/src/gyroscope/hal-backend-sensor-gyro.cpp index b7b870a..7c8daa6 100644 --- a/src/gyroscope/hal-backend-sensor-gyro.cpp +++ b/src/gyroscope/hal-backend-sensor-gyro.cpp @@ -36,9 +36,6 @@ static int sensor_exit(void *data) free(data); - if (gyro_dev) - delete (gyro_device *)gyro_dev; - return 0; } diff --git a/src/magnetometer/hal-backend-sensor-magnet.cpp b/src/magnetometer/hal-backend-sensor-magnet.cpp index 569dd94..e0a162b 100644 --- a/src/magnetometer/hal-backend-sensor-magnet.cpp +++ b/src/magnetometer/hal-backend-sensor-magnet.cpp @@ -36,9 +36,6 @@ static int sensor_exit(void *data) free(data); - if (magnet_dev) - delete (magnet_device *)magnet_dev; - return 0; } |