From: Bert Vermeulen Date: Sun, 2 Sep 2012 13:39:56 +0000 (+0200) Subject: generic-dmm: cosmetics X-Git-Tag: dsupstream~711 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c0d93341cb6f409f53f5d9d47058e1efb1cd2d8b;p=libsigrok.git generic-dmm: cosmetics --- diff --git a/hardware/genericdmm/api.c b/hardware/genericdmm/api.c index ab987b1c..e83bce16 100644 --- a/hardware/genericdmm/api.c +++ b/hardware/genericdmm/api.c @@ -298,7 +298,6 @@ static int clear_instances(void) if (devc->profile) { switch (devc->profile->transport) { case DMM_TRANSPORT_USBHID: - /* TODO */ sr_usb_dev_inst_free(devc->usb); break; case DMM_TRANSPORT_SERIAL: @@ -465,7 +464,6 @@ static int hw_dev_open(struct sr_dev_inst *sdi) ret = open_usb(sdi); break; case DMM_TRANSPORT_SERIAL: - /* TODO: O_NONBLOCK? */ sr_dbg("genericdmm: Opening serial port '%s'.", devc->serial->port); devc->serial->fd = serial_open(devc->serial->port, O_RDWR | O_NONBLOCK); if (devc->serial->fd == -1) {