kmscube: remove unused field
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 25 Apr 2016 14:25:20 +0000 (17:25 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 25 Apr 2016 14:25:20 +0000 (17:25 +0300)
kmscube/cube-gbm.cpp

index bbf58d1377f0017f0b4f4cfbae36909ec2a8a5b4..022c7618e23ca2ca12656fb3242b0b68b9affbc0 100644 (file)
@@ -89,7 +89,7 @@ class GbmEglSurface
 {
 public:
        GbmEglSurface(Card& card, GbmDevice& gdev, const EglState& egl, int width, int height)
-               : card(card), gdev(gdev), egl(egl), m_width(width), m_height(height),
+               : card(card), egl(egl), m_width(width), m_height(height),
                  bo_prev(0), bo_next(0)
        {
                gsurface = unique_ptr<GbmSurface>(new GbmSurface(gdev, width, height));
@@ -161,7 +161,6 @@ public:
 
 private:
        Card& card;
-       GbmDevice& gdev;
        const EglState& egl;
 
        unique_ptr<GbmSurface> gsurface;