Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318132
b: refs/heads/master
c: 3808dd9
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jul 19, 2012
1 parent 7b02132 commit ff50eb8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 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: 843c042d15dbecaece3070f08d88d9b7ad9d2284
refs/heads/master: 3808dd926f2d6773939a078e4798a4b3c47ecc84
11 changes: 0 additions & 11 deletions trunk/drivers/staging/comedi/drivers/aio_iiro_16.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ static const struct aio_iiro_16_board aio_iiro_16_boards[] = {
.do_ = 16},
};

struct aio_iiro_16_private {
int data;
struct pci_dev *pci_dev;
unsigned int ao_readback[2];
};

#define devpriv ((struct aio_iiro_16_private *) dev->private)

static int aio_iiro_16_dio_insn_bits_write(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
Expand Down Expand Up @@ -116,9 +108,6 @@ static int aio_iiro_16_attach(struct comedi_device *dev,

dev->iobase = iobase;

if (alloc_private(dev, sizeof(struct aio_iiro_16_private)) < 0)
return -ENOMEM;

ret = comedi_alloc_subdevices(dev, 2);
if (ret)
return ret;
Expand Down

0 comments on commit ff50eb8

Please sign in to comment.