X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fchronovu-la8%2Fapi.c;h=5a4ddbbe2e97c1198629fbb4899ab7a06cd19bfe;hb=40dda2c3a509e9e031078427e32249e2ebc33ec5;hp=5b82c3ab9d28eb495f46f6e0c6603db879aba37a;hpb=0d012ede9d54c6c5c276be52778483fd020c40d7;p=libsigrok.git diff --git a/hardware/chronovu-la8/api.c b/hardware/chronovu-la8/api.c index 5b82c3ab..5a4ddbbe 100644 --- a/hardware/chronovu-la8/api.c +++ b/hardware/chronovu-la8/api.c @@ -39,16 +39,13 @@ static const uint16_t usb_pids[] = { /* Function prototypes. */ static int hw_dev_acquisition_stop(int dev_index, void *cb_data); -static int hw_init(const char *devinfo) +static int hw_init(void) { int ret; struct sr_dev_inst *sdi; struct context *ctx; unsigned int i; - /* Avoid compiler errors. */ - (void)devinfo; - /* Allocate memory for our private driver context. */ if (!(ctx = g_try_malloc(sizeof(struct context)))) { sr_err("la8: %s: struct context malloc failed", __func__);