git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
phonedev: remove BKL
[pandora-kernel.git]
/
drivers
/
telephony
/
phonedev.c
diff --git
a/drivers/telephony/phonedev.c
b/drivers/telephony/phonedev.c
index
4d74ba3
..
37caf4d
100644
(file)
--- a/
drivers/telephony/phonedev.c
+++ b/
drivers/telephony/phonedev.c
@@
-54,7
+54,6
@@
static int phone_open(struct inode *inode, struct file *file)
if (minor >= PHONE_NUM_DEVICES)
return -ENODEV;
- lock_kernel();
mutex_lock(&phone_lock);
p = phone_device[minor];
if (p)
@@
-81,7
+80,6
@@
static int phone_open(struct inode *inode, struct file *file)
fops_put(old_fops);
end:
mutex_unlock(&phone_lock);
- unlock_kernel();
return err;
}