]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/fx2lafw/api.c
drivers: Drop unneeded or duplicate comments.
[libsigrok.git] / src / hardware / fx2lafw / api.c
index cc1a7c499ededf8d5073f47470b4dfb3024e324b..9e5b24241e42fc92f3f90841b1202700578493b2 100644 (file)
@@ -96,14 +96,14 @@ static const struct fx2lafw_profile supported_fx2[] = {
        ALL_ZERO
 };
 
-static const uint32_t drvopts[] = {
-       SR_CONF_LOGIC_ANALYZER,
-};
-
 static const uint32_t scanopts[] = {
        SR_CONF_CONN,
 };
 
+static const uint32_t drvopts[] = {
+       SR_CONF_LOGIC_ANALYZER,
+};
+
 static const uint32_t devopts[] = {
        SR_CONF_CONTINUOUS,
        SR_CONF_LIMIT_SAMPLES | SR_CONF_GET | SR_CONF_SET,
@@ -268,7 +268,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
                        }
                }
 
-               /* Skip if the device was not found. */
                if (!prof)
                        continue;