Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337205
b: refs/heads/master
c: 32bd027
h: refs/heads/master
i:
  337203: 0b0d9b7
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Oct 24, 2012
1 parent 3d980ba commit 8214d22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 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: e0f6959fbb318c1fb08c79503815b2cdd79d7554
refs/heads/master: 32bd027dd700744b29b89c38353b5597e70ce802
10 changes: 1 addition & 9 deletions trunk/drivers/staging/comedi/drivers/ni_660x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1114,14 +1114,6 @@ static int ni_660x_set_pfi_routing(struct comedi_device *dev, unsigned chan,
return 0;
}

static unsigned ni_660x_get_pfi_routing(struct comedi_device *dev,
unsigned chan)
{
struct ni_660x_private *devpriv = dev->private;

return devpriv->pfi_output_selects[chan];
}

static void ni660x_config_filter(struct comedi_device *dev,
unsigned pfi_channel,
enum ni_gpct_filter_select filter)
Expand Down Expand Up @@ -1163,7 +1155,7 @@ static int ni_660x_dio_insn_config(struct comedi_device *dev,
return ni_660x_set_pfi_routing(dev, chan, data[1]);
break;
case INSN_CONFIG_GET_ROUTING:
data[1] = ni_660x_get_pfi_routing(dev, chan);
data[1] = devpriv->pfi_output_selects[chan];
break;
case INSN_CONFIG_FILTER:
ni660x_config_filter(dev, chan, data[1]);
Expand Down

0 comments on commit 8214d22

Please sign in to comment.