Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317264
b: refs/heads/master
c: 83afda9
h: refs/heads/master
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Jun 11, 2012
1 parent 668df9e commit 6d2d06d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: f59f231e3db835353d8d1ff91062d89140dc8be3
refs/heads/master: 83afda9d449c61b55881d50465833784d8fda786
7 changes: 2 additions & 5 deletions trunk/drivers/staging/comedi/drivers/amplc_pci230.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,6 @@ enum {
/* Combine old and new bits. */
#define COMBINE(old, new, mask) (((old) & ~(mask)) | ((new) & (mask)))

/* A generic null function pointer value. */
#define NULLFUNC 0

/* Current CPU. XXX should this be hard_smp_processor_id()? */
#define THISCPU smp_processor_id()

Expand Down Expand Up @@ -1491,7 +1488,7 @@ static int pci230_ao_inttrig_start(struct comedi_device *dev,
if (trig_num != 0)
return -EINVAL;

s->async->inttrig = NULLFUNC;
s->async->inttrig = NULL;
pci230_ao_start(dev, s);

return 1;
Expand Down Expand Up @@ -2292,7 +2289,7 @@ static int pci230_ai_inttrig_start(struct comedi_device *dev,
if (trig_num != 0)
return -EINVAL;

s->async->inttrig = NULLFUNC;
s->async->inttrig = NULL;
pci230_ai_start(dev, s);

return 1;
Expand Down

0 comments on commit 6d2d06d

Please sign in to comment.