]> sigrok.org Git - libsigrok.git/blobdiff - hardware/alsa/api.c
hw_dev_close(): Move common checks to wrapper.
[libsigrok.git] / hardware / alsa / api.c
index 5751675058a3ec5338e636e47bccc61e28d3b8f2..c546b40036cfa204fbd230b7d2a45c6bcd3cced6 100644 (file)
@@ -103,8 +103,6 @@ static int hw_dev_close(struct sr_dev_inst *sdi)
 
        devc = sdi->priv;
 
-       sr_dbg("Closing device.");
-
        if (devc->capture_handle) {
                sr_dbg("Closing PCM device.");
                if ((ret = snd_pcm_close(devc->capture_handle)) < 0) {