Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355027
b: refs/heads/master
c: d66d7ac
h: refs/heads/master
i:
  355025: b406188
  355023: 8a99b41
v: v3
  • Loading branch information
Jon Mason authored and Greg Kroah-Hartman committed Jan 20, 2013
1 parent 8bcdf01 commit 1486c4d
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: 7b4f2d3c3b8285fe63cae6b92c7b7030d1d1aa7c
refs/heads/master: d66d7ac2e09f26dbcd3bfbd8bb05e658de89719a
8 changes: 1 addition & 7 deletions trunk/drivers/ntb/ntb_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,12 +364,6 @@ void ntb_unregister_client(struct ntb_client *drv)
}
EXPORT_SYMBOL_GPL(ntb_unregister_client);

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

static ssize_t debugfs_read(struct file *filp, char __user *ubuf, size_t count,
loff_t *offp)
{
Expand Down Expand Up @@ -425,7 +419,7 @@ static ssize_t debugfs_read(struct file *filp, char __user *ubuf, size_t count,

static const struct file_operations ntb_qp_debugfs_stats = {
.owner = THIS_MODULE,
.open = debugfs_open,
.open = simple_open,
.read = debugfs_read,
};

Expand Down

0 comments on commit 1486c4d

Please sign in to comment.