Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325126
b: refs/heads/master
c: e6e69aa
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 11, 2012
1 parent 8168311 commit 5ea4274
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 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: 3acf31763f3e499b6ba9a1eaabb98a1922883e55
refs/heads/master: e6e69aa1306c5daa3f4a5e7b88b784b68b5cb00c
10 changes: 0 additions & 10 deletions trunk/drivers/staging/comedi/drivers/adl_pci9111.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,16 +514,6 @@ pci9111_ai_do_cmd_test(struct comedi_device *dev,

/* Step 3 : make sure arguments are trivialy compatible */

if (cmd->chanlist_len < 1) {
cmd->chanlist_len = 1;
error++;
}

if (cmd->chanlist_len > board->ai_channel_nbr) {
cmd->chanlist_len = board->ai_channel_nbr;
error++;
}

if ((cmd->start_src == TRIG_NOW) && (cmd->start_arg != 0)) {
cmd->start_arg = 0;
error++;
Expand Down

0 comments on commit 5ea4274

Please sign in to comment.