From: Bert Vermeulen Date: Sun, 8 Jul 2012 02:15:51 +0000 (+0200) Subject: genericdmm/fs9922: no initialization needed X-Git-Tag: dsupstream~847 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1ef445b3d696c91b6734eaafbfb5478d6506d5ee;p=libsigrok.git genericdmm/fs9922: no initialization needed --- diff --git a/hardware/genericdmm/fs9922.c b/hardware/genericdmm/fs9922.c index 5e80df77..69054248 100644 --- a/hardware/genericdmm/fs9922.c +++ b/hardware/genericdmm/fs9922.c @@ -22,14 +22,7 @@ #include "genericdmm.h" -static int fs9922_init(struct context *ctx) -{ - - - return SR_OK; -} - -static int fs9922_data(struct context *ctx, unsigned char *data) +static int fs9922_data(struct sr_dev_inst *sdi, unsigned char *data) { struct sr_datafeed_packet packet; struct sr_datafeed_analog analog; @@ -42,7 +35,6 @@ static int fs9922_data(struct context *ctx, unsigned char *data) SR_PRIV struct dmmchip dmmchip_fs9922 = { - .init = fs9922_init, .data = fs9922_data, };