projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
529399a
)
Remove s->do_lock, s->do_unlock
author
David Schleef
<ds@schleef.org>
Tue, 24 Jul 2001 10:35:58 +0000
(10:35 +0000)
committer
David Schleef
<ds@schleef.org>
Tue, 24 Jul 2001 10:35:58 +0000
(10:35 +0000)
comedi/kcomedilib/kcomedilib_main.c
patch
|
blob
|
history
diff --git
a/comedi/kcomedilib/kcomedilib_main.c
b/comedi/kcomedilib/kcomedilib_main.c
index 688c830a51ef322e6fedf37558d670de29cf46a2..f22e719051b11d18cc01a1b59016db249b393a2f 100644
(file)
--- a/
comedi/kcomedilib/kcomedilib_main.c
+++ b/
comedi/kcomedilib/kcomedilib_main.c
@@
-761,9
+761,6
@@
int comedi_lock(unsigned int minor,unsigned int subdev)
}else{
__MOD_INC_USE_COUNT(dev->driver->module);
s->lock=(void *)&rtcomedi_lock_semaphore;
-
- if(s->do_lock)
- s->do_lock(dev,s);
}
return ret;
@@
-808,9
+805,6
@@
int comedi_unlock(unsigned int minor,unsigned int subdev)
if(s->lock && s->lock!=&rtcomedi_lock_semaphore)
return -EACCES;
- if(s->do_unlock)
- s->do_unlock(dev,s);
-
if(s->lock==&rtcomedi_lock_semaphore){
s->lock=NULL;