OSDN Git Service

Force framebuffer target
[android-x86/external-drm_hwcomposer.git] / drmproperty.cpp
index 378e3a2..6f65dac 100644 (file)
@@ -37,17 +37,6 @@ DrmProperty::DrmProperty(drmModePropertyPtr p, uint64_t value)
   Init(p, value);
 }
 
-DrmProperty::DrmProperty()
-    : id_(0),
-      type_(DRM_PROPERTY_TYPE_INVALID),
-      flags_(0),
-      name_(""),
-      value_(0) {
-}
-
-DrmProperty::~DrmProperty() {
-}
-
 void DrmProperty::Init(drmModePropertyPtr p, uint64_t value) {
   id_ = p->prop_id;
   flags_ = p->flags;
@@ -71,7 +60,6 @@ void DrmProperty::Init(drmModePropertyPtr p, uint64_t value) {
     type_ = DRM_PROPERTY_TYPE_OBJECT;
   else if (flags_ & DRM_MODE_PROP_BLOB)
     type_ = DRM_PROPERTY_TYPE_BLOB;
-
 }
 
 uint32_t DrmProperty::id() const {