]> sigrok.org Git - libsigrok.git/blobdiff - hardware/demo/demo.c
sr: make struct drv_context global
[libsigrok.git] / hardware / demo / demo.c
index ba440a3d0289dd170fa1aa1f1823d035cd366922..e435482e32ac1c91e67aba58c1cfd452255765c9 100644 (file)
@@ -63,13 +63,6 @@ enum {
        PATTERN_ALL_HIGH,
 };
 
-/* FIXME: Should not be global. */
-
-/* Private driver context. */
-struct drv_context {
-       GSList *instances;
-};
-
 /* Private, per-device-instance driver context. */
 struct dev_context {
        int pipe_fds[2];