diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-22 15:42:14 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-23 09:43:27 +0300 |
commit | ebfe02d5cd4e04d0df471669190e4feb1e2e493c (patch) | |
tree | 506ac8ba7214c0476127a6ce6e677f6693a25f3f /libkms++ | |
parent | 6d13ebbb8b9854713a5597df71a12f8dd9a36c34 (diff) |
Cleanup AtomicReq::commit
Diffstat (limited to 'libkms++')
-rw-r--r-- | libkms++/atomicreq.cpp | 7 | ||||
-rw-r--r-- | libkms++/atomicreq.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/libkms++/atomicreq.cpp b/libkms++/atomicreq.cpp index f2aa322..0e627a8 100644 --- a/libkms++/atomicreq.cpp +++ b/libkms++/atomicreq.cpp @@ -63,13 +63,6 @@ int AtomicReq::test() return drmModeAtomicCommit(m_card.fd(), m_req, flags, 0); } -int AtomicReq::commit() -{ - uint32_t flags = 0; - - return drmModeAtomicCommit(m_card.fd(), m_req, flags, 0); -} - int AtomicReq::commit(void* data) { uint32_t flags = DRM_MODE_PAGE_FLIP_EVENT | DRM_MODE_ATOMIC_NONBLOCK; diff --git a/libkms++/atomicreq.h b/libkms++/atomicreq.h index 7a8f2a4..d9aeb08 100644 --- a/libkms++/atomicreq.h +++ b/libkms++/atomicreq.h @@ -23,7 +23,6 @@ public: void add(DrmObject *ob, const std::string& prop, uint64_t value); int test(); - int commit(); int commit(void* data); int commit_sync(); |