From ebfe02d5cd4e04d0df471669190e4feb1e2e493c Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Sun, 22 May 2016 15:42:14 +0300 Subject: Cleanup AtomicReq::commit --- libkms++/atomicreq.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libkms++/atomicreq.cpp') 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; -- cgit v1.2.3