From: Ian Abbott Date: Thu, 18 Dec 2008 16:44:20 +0000 (+0000) Subject: Removed unneeded comedi_insnlist from do_test_for_insn(). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9a06deb6f945f799cb6d2d1a16414b5cf0302377;p=comedilib.git Removed unneeded comedi_insnlist from do_test_for_insn(). --- diff --git a/lib/filler.c b/lib/filler.c index c0d8def..aa1f6c3 100644 --- a/lib/filler.c +++ b/lib/filler.c @@ -309,13 +309,9 @@ static int do_test_for_insnlist(comedi_t *dev) static int do_test_for_insn(comedi_t *dev) { comedi_insn insn; - comedi_insnlist il; lsampl_t data[2]; int ret; - il.n_insns = 1; - il.insns = &insn; - memset(&insn,0,sizeof(insn)); insn.insn = INSN_GTOD; insn.n = 2;