projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Use MAX_RT_PRIO offset in sched_wakeup_template
[lttng-modules.git]
/
lttng-abi.c
diff --git
a/lttng-abi.c
b/lttng-abi.c
index 8f63ad94c8fb053d9178aa91aa71d14d317f4e1b..3572e58ef8f64e948680c63d05cf1c23280d2821 100644
(file)
--- a/
lttng-abi.c
+++ b/
lttng-abi.c
@@
-130,10
+130,6
@@
int lttng_abi_tracepoint_list(void)
if (ret < 0)
goto open_error;
fd_install(file_fd, tracepoint_list_file);
if (ret < 0)
goto open_error;
fd_install(file_fd, tracepoint_list_file);
- if (file_fd < 0) {
- ret = file_fd;
- goto fd_error;
- }
return file_fd;
open_error:
return file_fd;
open_error:
@@
-174,10
+170,6
@@
int lttng_abi_syscall_list(void)
if (ret < 0)
goto open_error;
fd_install(file_fd, syscall_list_file);
if (ret < 0)
goto open_error;
fd_install(file_fd, syscall_list_file);
- if (file_fd < 0) {
- ret = file_fd;
- goto fd_error;
- }
return file_fd;
open_error:
return file_fd;
open_error:
@@
-1286,8
+1278,8
@@
int lttng_metadata_channel_release(struct inode *inode, struct file *file)
struct lttng_channel *channel = file->private_data;
if (channel) {
struct lttng_channel *channel = file->private_data;
if (channel) {
- lttng_metadata_channel_destroy(channel);
fput(channel->session->file);
fput(channel->session->file);
+ lttng_metadata_channel_destroy(channel);
}
return 0;
}
return 0;
This page took
0.022701 seconds
and
4
git commands to generate.