]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/scpi-pps/api.c
Drop some unused or duplicated code.
[libsigrok.git] / src / hardware / scpi-pps / api.c
index 112bedc0e25b13712123d21fbec6ea3d3d2fd86e..10ab5f9e8335147bae53ad3b804490f073590893 100644 (file)
@@ -203,7 +203,6 @@ static int dev_open(struct sr_dev_inst *sdi)
 
        devc = sdi->priv;
        scpi_cmd(sdi, devc->device->commands, SCPI_CMD_REMOTE);
-       devc = sdi->priv;
        devc->beeper_was_set = FALSE;
        if (scpi_cmd_resp(sdi, devc->device->commands, &beeper,
                        G_VARIANT_TYPE_BOOLEAN, SCPI_CMD_BEEPER) == SR_OK) {