Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359432
b: refs/heads/master
c: f07cda8
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and James Bottomley committed Jan 29, 2013
1 parent 6a954ac commit 69966b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: b47d70c9531f082cad01e3dd0aa5f1b9827a04b7
refs/heads/master: f07cda8fa9bcf83b5317a0b478d7b6ea4f59facf
9 changes: 1 addition & 8 deletions trunk/drivers/scsi/csiostor/csio_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,6 @@ static struct scsi_transport_template *csio_fcoe_transport_vport;
/*
* debugfs support
*/
static int
csio_mem_open(struct inode *inode, struct file *file)
{
file->private_data = inode->i_private;
return 0;
}

static ssize_t
csio_mem_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
{
Expand Down Expand Up @@ -110,7 +103,7 @@ csio_mem_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)

static const struct file_operations csio_mem_debugfs_fops = {
.owner = THIS_MODULE,
.open = csio_mem_open,
.open = simple_open,
.read = csio_mem_read,
.llseek = default_llseek,
};
Expand Down

0 comments on commit 69966b3

Please sign in to comment.