diff options
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r-- | include/linux/syscalls.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index d3c9fd01a110..b9af87560adb 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -168,7 +168,6 @@ static void prof_sysexit_disable_##sname(struct ftrace_event_call *unused) \ | |||
168 | if (!id) \ | 168 | if (!id) \ |
169 | return -ENODEV; \ | 169 | return -ENODEV; \ |
170 | event_enter_##sname.id = id; \ | 170 | event_enter_##sname.id = id; \ |
171 | set_syscall_enter_id(num, id); \ | ||
172 | INIT_LIST_HEAD(&event_enter_##sname.fields); \ | 171 | INIT_LIST_HEAD(&event_enter_##sname.fields); \ |
173 | return 0; \ | 172 | return 0; \ |
174 | } \ | 173 | } \ |
@@ -205,7 +204,6 @@ static void prof_sysexit_disable_##sname(struct ftrace_event_call *unused) \ | |||
205 | if (!id) \ | 204 | if (!id) \ |
206 | return -ENODEV; \ | 205 | return -ENODEV; \ |
207 | event_exit_##sname.id = id; \ | 206 | event_exit_##sname.id = id; \ |
208 | set_syscall_exit_id(num, id); \ | ||
209 | INIT_LIST_HEAD(&event_exit_##sname.fields); \ | 207 | INIT_LIST_HEAD(&event_exit_##sname.fields); \ |
210 | return 0; \ | 208 | return 0; \ |
211 | } \ | 209 | } \ |