struct dev_context *devc;
int tracking_mode;
- devc = (struct dev_context *)sdi->priv;
+ devc = sdi->priv;
sr_spew("Status: %d", stat);
devc->channel_status[0].cc_mode = (stat & 0x01) != 0;
int stat, ret;
struct dev_context *devc;
- devc = (struct dev_context *)sdi->priv;
+ devc = sdi->priv;
devc->req_sent_at = g_get_real_time();