diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-08-28 07:00:20 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-08-28 07:00:20 +0200 |
commit | 4b61bb575b1fb42ab1df228ae7812e5135f656da (patch) | |
tree | 03456466e6f678456ea462a7da4b352d1aa03aa3 /kernel/trace/trace_stack.c | |
parent | Input: xpad - add USB ID for the drumkit controller from Rock Band (diff) | |
parent | Linux 2.6.31-rc8 (diff) | |
download | linux-4b61bb575b1fb42ab1df228ae7812e5135f656da.tar.xz linux-4b61bb575b1fb42ab1df228ae7812e5135f656da.zip |
Merge commit 'v2.6.31-rc8' into next
Diffstat (limited to 'kernel/trace/trace_stack.c')
-rw-r--r-- | kernel/trace/trace_stack.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/kernel/trace/trace_stack.c b/kernel/trace/trace_stack.c index e644af910124..6a2a9d484cd6 100644 --- a/kernel/trace/trace_stack.c +++ b/kernel/trace/trace_stack.c @@ -301,17 +301,14 @@ static const struct seq_operations stack_trace_seq_ops = { static int stack_trace_open(struct inode *inode, struct file *file) { - int ret; - - ret = seq_open(file, &stack_trace_seq_ops); - - return ret; + return seq_open(file, &stack_trace_seq_ops); } static const struct file_operations stack_trace_fops = { .open = stack_trace_open, .read = seq_read, .llseek = seq_lseek, + .release = seq_release, }; int |