]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/uni-t-dmm/api.c
Remove unnecessary std_init() wrapper functions
[libsigrok.git] / src / hardware / uni-t-dmm / api.c
index 6e8663e501e7f6bba03b03fa65baecc13ac76388..8f1d83cdcee5c68a27ce1d5a3198766f69cbc2c5 100644 (file)
@@ -46,11 +46,6 @@ static const uint32_t devopts[] = {
  * default of 2400 being used (which will not work with this DMM, of course).
  */
 
-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)
 {
        GSList *usb_devices, *devices, *l;
@@ -195,7 +190,7 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi)
                        .name = ID, \
                        .longname = VENDOR " " MODEL, \
                        .api_version = 1, \
-                       .init = init, \
+                       .init = std_init, \
                        .cleanup = std_cleanup, \
                        .scan = scan, \
                        .dev_list = std_dev_list, \