uni-t-ut32x: Shorten dev_list().
This commit is contained in:
parent
1ca48e29d4
commit
45c0841b25
|
@ -113,11 +113,7 @@ static GSList *scan(GSList *options)
|
||||||
|
|
||||||
static GSList *dev_list(void)
|
static GSList *dev_list(void)
|
||||||
{
|
{
|
||||||
struct drv_context *drvc;
|
return ((struct drv_context *)(di->priv))->instances;
|
||||||
|
|
||||||
drvc = di->priv;
|
|
||||||
|
|
||||||
return drvc->instances;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int dev_clear(void)
|
static int dev_clear(void)
|
||||||
|
|
Loading…
Reference in New Issue