]> sigrok.org Git - libsigrok.git/blobdiff - hardware/victor-dmm/api.c
Get rid of obsolete SR_DI_NUM_PROBES and SR_DI_PROBE_NAMES.
[libsigrok.git] / hardware / victor-dmm / api.c
index 63ae5fb7365c6577098033e87ba7714bc155c75c..496b51b758bba1c51664ce9afc46da04b92c7855 100644 (file)
@@ -44,11 +44,6 @@ static const int hwcaps[] = {
        0
 };
 
-static const char *probe_names[] = {
-       "P1",
-       NULL,
-};
-
 /* Properly close and free all devices. */
 static int clear_instances(void)
 {
@@ -258,12 +253,6 @@ static int hw_info_get(int info_id, const void **data,
        case SR_DI_HWCAPS:
                *data = hwcaps;
                break;
-       case SR_DI_NUM_PROBES:
-               *data = GINT_TO_POINTER(1);
-               break;
-       case SR_DI_PROBE_NAMES:
-               *data = probe_names;
-               break;
        default:
                sr_err("Unknown info_id: %d.", info_id);
                return SR_ERR_ARG;