Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115916
b: refs/heads/master
c: 60c11d2
h: refs/heads/master
v: v3
  • Loading branch information
Richard Holden authored and Linus Torvalds committed Oct 20, 2008
1 parent eb7fae7 commit 8d7de65
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: 3e680aae4e53ab54cdbb0c29257dae0cbb158e1c
refs/heads/master: 60c11d2abf4ef811d0ce3ea34279746729c4c6fc
2 changes: 0 additions & 2 deletions trunk/drivers/telephony/phonedev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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;
}

Expand Down

0 comments on commit 8d7de65

Please sign in to comment.