Removed unneeded comedi_insnlist from do_test_for_insn().
authorIan Abbott <abbotti@mev.co.uk>
Thu, 18 Dec 2008 16:44:20 +0000 (16:44 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Thu, 18 Dec 2008 16:44:20 +0000 (16:44 +0000)
lib/filler.c

index c0d8def57b7cac211a59b2028f3f23334cb1eb43..aa1f6c38aa8eb58fbc328736ebe48fe7ac21cfe1 100644 (file)
@@ -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;