Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325120
b: refs/heads/master
c: 2873ea8
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 11, 2012
1 parent 4aef51d commit fab27c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2084fd19f8dbe5c47f36364e725c58eca910dcc4
refs/heads/master: 2873ea8154b220c11f5e17222a3879925d7db506
14 changes: 0 additions & 14 deletions trunk/drivers/staging/comedi/drivers/adl_pci9111.c
Original file line number Diff line number Diff line change
Expand Up @@ -979,8 +979,6 @@ static irqreturn_t pci9111_interrupt(int irq, void *p_device)

/* analog instant input */

#undef AI_INSN_DEBUG

static int pci9111_ai_insn_read(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn, unsigned int *data)
Expand All @@ -990,12 +988,6 @@ static int pci9111_ai_insn_read(struct comedi_device *dev,

int timeout, i;

#ifdef AI_INSN_DEBUG
printk(PCI9111_DRIVER_NAME ": ai_insn set c/r/n = %2x/%2x/%2x\n",
CR_CHAN((&insn->chanspec)[0]),
CR_RANGE((&insn->chanspec)[0]), insn->n);
#endif

pci9111_ai_channel_set(CR_CHAN((&insn->chanspec)[0]));

if ((pci9111_ai_range_get()) != CR_RANGE((&insn->chanspec)[0]))
Expand Down Expand Up @@ -1026,12 +1018,6 @@ static int pci9111_ai_insn_read(struct comedi_device *dev,
data[i] = pci9111_ai_get_data();
}

#ifdef AI_INSN_DEBUG
printk(PCI9111_DRIVER_NAME ": ai_insn get c/r/t = %2x/%2x/%2x\n",
pci9111_ai_channel_get(),
pci9111_ai_range_get(), pci9111_trigger_and_autoscan_get());
#endif

return i;
}

Expand Down

0 comments on commit fab27c7

Please sign in to comment.