Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336537
b: refs/heads/master
c: db7312a
h: refs/heads/master
i:
  336535: e93ec89
v: v3
  • Loading branch information
Wei Yongjun authored and Borislav Petkov committed Nov 28, 2012
1 parent ccdd814 commit 0c95b46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: f35d852e8038d6eccd0cce3cf1df1d4bd7d2c473
refs/heads/master: db7312a295ec113fa7b3f7486c4b62b936a357d3
8 changes: 1 addition & 7 deletions trunk/drivers/edac/edac_mc_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -846,14 +846,8 @@ static ssize_t edac_fake_inject_write(struct file *file,
return count;
}

static int debugfs_open(struct inode *inode, struct file *file)
{
file->private_data = inode->i_private;
return 0;
}

static const struct file_operations debug_fake_inject_fops = {
.open = debugfs_open,
.open = simple_open,
.write = edac_fake_inject_write,
.llseek = generic_file_llseek,
};
Expand Down

0 comments on commit 0c95b46

Please sign in to comment.