projects
/
platform
/
adaptation
/
tw1
/
sensor-hal-tw1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea0db1e
)
sensor-hal-tw1: remove useless code in pressure_device
28/64728/1
author
kibak.yoon
<kibak.yoon@samsung.com>
Tue, 5 Apr 2016 06:26:31 +0000
(15:26 +0900)
committer
kibak.yoon
<kibak.yoon@samsung.com>
Tue, 5 Apr 2016 06:26:31 +0000
(15:26 +0900)
Change-Id: Ic53b59890e8aea459326f9a9cf3ea1c810da5c58
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/pressure/pressure_device.cpp
patch
|
blob
|
history
diff --git
a/src/pressure/pressure_device.cpp
b/src/pressure/pressure_device.cpp
index 164f58286a6265a10700890d12e5308dab5c28b4..993fc5f9ff4458adab4dd72c5a3229795973ec10 100644
(file)
--- a/
src/pressure/pressure_device.cpp
+++ b/
src/pressure/pressure_device.cpp
@@
-174,11
+174,6
@@
pressure_device::pressure_device()
throw ENXIO;
}
- if ((m_node_handle = open(m_data_node.c_str(),O_RDWR)) < 0) {
- _E("Failed to open handle(%d)", m_node_handle);
- throw ENXIO;
- }
-
if (m_method == INPUT_EVENT_METHOD) {
int clockId = CLOCK_MONOTONIC;
if (ioctl(m_node_handle, EVIOCSCLOCKID, &clockId) != 0) {