Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173209
b: refs/heads/master
c: df502e3
h: refs/heads/master
i:
  173207: 6e8b4bf
v: v3
  • Loading branch information
Thomas Gleixner committed Oct 14, 2009
1 parent ab4e06a commit 0e24c13
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: ca1b82ba0888e742a7efdb89ed8e2aab453e091f
refs/heads/master: df502e389383b219e44819fe757614450d95f297
3 changes: 0 additions & 3 deletions trunk/arch/um/drivers/random.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* of the GNU General Public License, incorporated herein by reference.
*/
#include <linux/sched.h>
#include <linux/smp_lock.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/interrupt.h>
Expand All @@ -34,8 +33,6 @@ static DECLARE_WAIT_QUEUE_HEAD(host_read_wait);

static int rng_dev_open (struct inode *inode, struct file *filp)
{
cycle_kernel_lock();

/* enforce read-only access to this chrdev */
if ((filp->f_mode & FMODE_READ) == 0)
return -EINVAL;
Expand Down

0 comments on commit 0e24c13

Please sign in to comment.