diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.h b/src/plugins/platforms/eglfs/qeglfsscreen.h
index 4938d66538cec87568968c3c753acf2c0ce03b00..132646d7a6dcd068fb803f117b7b87884f6df6d2 100644
--- a/src/plugins/platforms/eglfs/qeglfsscreen.h
+++ b/src/plugins/platforms/eglfs/qeglfsscreen.h
@@ -77,7 +77,6 @@ protected:
 private:
     friend class QEglFSWindow;
 
-    EGLDisplay m_dpy;
     EGLSurface m_surface;
     QEGLPlatformCursor *m_cursor;
     QEGLPlatformWindow *m_rootWindow;