Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173193
b: refs/heads/master
c: 4c2aedc
h: refs/heads/master
i:
  173191: 3cb567c
v: v3
  • Loading branch information
Thomas Gleixner committed Oct 14, 2009
1 parent 0647b52 commit 0c7b8ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: a7e63bb5f08378620d913824ab42e49027f22194
refs/heads/master: 4c2aedc2543248c3fdc8c06c662b589d36c93bbb
3 changes: 0 additions & 3 deletions trunk/drivers/spi/spidev.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include <linux/errno.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>

#include <linux/spi/spi.h>
#include <linux/spi/spidev.h>
Expand Down Expand Up @@ -477,7 +476,6 @@ static int spidev_open(struct inode *inode, struct file *filp)
struct spidev_data *spidev;
int status = -ENXIO;

lock_kernel();
mutex_lock(&device_list_lock);

list_for_each_entry(spidev, &device_list, device_entry) {
Expand All @@ -503,7 +501,6 @@ static int spidev_open(struct inode *inode, struct file *filp)
pr_debug("spidev: nothing for minor %d\n", iminor(inode));

mutex_unlock(&device_list_lock);
unlock_kernel();
return status;
}

Expand Down

0 comments on commit 0c7b8ff

Please sign in to comment.