Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80971
b: refs/heads/master
c: 9ee7fd9
h: refs/heads/master
i:
  80969: 1a49132
  80967: 5c7ee0d
v: v3
  • Loading branch information
Johannes Berg authored and Paul Mackerras committed Dec 3, 2007
1 parent 941ef8a commit e24868a
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: 6215762064311efea0618c9496cc6360cd75243d
refs/heads/master: 9ee7fd9c605247baf81d196ade090698a0759e9c
3 changes: 0 additions & 3 deletions trunk/drivers/macintosh/via-pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include <linux/adb.h>
#include <linux/pmu.h>
#include <linux/cuda.h>
#include <linux/smp_lock.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/pm.h>
Expand Down Expand Up @@ -2547,7 +2546,6 @@ pmu_release(struct inode *inode, struct file *file)
struct pmu_private *pp = file->private_data;
unsigned long flags;

lock_kernel();
if (pp != 0) {
file->private_data = NULL;
spin_lock_irqsave(&all_pvt_lock, flags);
Expand All @@ -2561,7 +2559,6 @@ pmu_release(struct inode *inode, struct file *file)

kfree(pp);
}
unlock_kernel();
return 0;
}

Expand Down

0 comments on commit e24868a

Please sign in to comment.