static GSList *scan_1x_2x_rs232(struct sr_dev_driver *di, GSList *options)
{
struct sr_dev_inst *sdi;
- struct drv_context *drvc;
struct dev_context *devc;
struct sr_config *src;
struct sr_serial_dev_inst *serial;
gboolean serialcomm_given;
devices = NULL;
- drvc = di->context;
conn = serialcomm = NULL;
serialcomm_given = FALSE;
static GSList *scan_2x_bd232(struct sr_dev_driver *di, GSList *options)
{
struct sr_dev_inst *sdi;
- struct drv_context *drvc;
struct dev_context *devc;
struct sr_config *src;
struct sr_serial_dev_inst *serial;
conn = serialcomm = NULL;
devices = NULL;
- drvc = di->context;
-
sr_spew("scan_2x_bd232() called!");
for (l = options; l; l = l->next) {