Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363762
b: refs/heads/master
c: 43d092c
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Mar 26, 2013
1 parent b86ef7a commit 66a12eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: e7a1aa62823d8cc861aaad078006e6742c114a0e
refs/heads/master: 43d092c67740704c9a8d04da2ca070bfca34207a
8 changes: 1 addition & 7 deletions trunk/drivers/staging/comedi/drivers/ni_labpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,7 @@ static int labpc_counter_set_mode(struct comedi_device *dev,
static bool labpc_range_is_unipolar(struct comedi_subdevice *s,
unsigned int range)
{
const struct comedi_lrange *lrange = s->range_table;
const struct comedi_krange *krange = &lrange->range[range];

if (krange->min < 0)
return false;
else
return true;
return s->range_table->range[range].min >= 0;
}

static int labpc_cancel(struct comedi_device *dev, struct comedi_subdevice *s)
Expand Down

0 comments on commit 66a12eb

Please sign in to comment.