X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fappa-55ii%2Fapi.c;fp=src%2Fhardware%2Fappa-55ii%2Fapi.c;h=960b88167e6a6c8a66779dc7b054b19643c711f0;hp=d93644d5a3e3fd72f8521df8c772a38b0dbac89b;hb=cd0de200b17820975637ddafba8a68902648344e;hpb=39fcfdc9dae5311617f0e72b0a7333a199620190 diff --git a/src/hardware/appa-55ii/api.c b/src/hardware/appa-55ii/api.c index d93644d5..960b8816 100644 --- a/src/hardware/appa-55ii/api.c +++ b/src/hardware/appa-55ii/api.c @@ -44,7 +44,6 @@ static const char *data_sources[] = { static GSList *scan(struct sr_dev_driver *di, GSList *options) { - struct drv_context *drvc; struct dev_context *devc; struct sr_serial_dev_inst *serial; struct sr_dev_inst *sdi; @@ -80,7 +79,6 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options) sr_info("Probing serial port %s.", conn); - drvc = di->context; serial_flush(serial); /* Let's get a bit of data and see if we can find a packet. */