]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hp-3457a/api.c
Remove unnecessary std_init() wrapper functions
[libsigrok.git] / src / hardware / hp-3457a / api.c
index 2d05f29a89375a8fd3fa99b27afa2b9404c04438..f9ea375932d43237429ad6f6c364b386e9446cae 100644 (file)
@@ -166,11 +166,6 @@ static struct sr_dev_inst *probe_device(struct sr_scpi_dev_inst *scpi)
        return sdi;
 }
 
-static int init(struct sr_dev_driver *di, struct sr_context *sr_ctx)
-{
-       return std_init(di, sr_ctx);
-}
-
 static GSList *scan(struct sr_dev_driver *di, GSList *options)
 {
        return sr_scpi_scan(di->context, options, probe_device);
@@ -446,7 +441,7 @@ SR_PRIV struct sr_dev_driver hp_3457a_driver_info = {
        .name = "hp-3457a",
        .longname = "HP 3457A",
        .api_version = 1,
-       .init = init,
+       .init = std_init,
        .cleanup = std_cleanup,
        .scan = scan,
        .dev_list = std_dev_list,