]> sigrok.org Git - libsigrok.git/blobdiff - session.c
sr: Drop some obsolete and commented out code.
[libsigrok.git] / session.c
index b2d63dfee98a20c47875f914ec519a908d80b680..6472f06a0fb589617e01d8c3cdea1c1c944e722f 100644 (file)
--- a/session.c
+++ b/session.c
@@ -154,23 +154,6 @@ int sr_session_device_add(struct sr_device *device)
        return SR_OK;
 }
 
-#if 0
-void sr_session_pa_clear(void)
-{
-       /*
-        * The protocols are pointers to the global set of PA plugins,
-        * so don't free them.
-        */
-       g_slist_free(session->analyzers);
-       session->analyzers = NULL;
-}
-
-void sr_session_pa_add(struct sr_analyzer *an)
-{
-       session->analyzers = g_slist_append(session->analyzers, an);
-}
-#endif
-
 /**
  * Clear all datafeed callbacks in the current session.
  *