diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-27 05:23:29 +0200 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-27 05:23:29 +0200 |
commit | f8468f3695209735c1595342f6bd95f7bdab66e1 (patch) | |
tree | 7158af2df47c0da942635ec2a153cfeb9ce147ef /kernel/trace/trace_syscalls.c | |
parent | aeaeae1187d7520f1c5559623f0a149da6a1c96e (diff) | |
download | op-kernel-dev-f8468f3695209735c1595342f6bd95f7bdab66e1.zip op-kernel-dev-f8468f3695209735c1595342f6bd95f7bdab66e1.tar.gz |
tracing: Remove unneeded pointer casts
Cleaup uneeded casts from void * to char * in syscalls tracing file.
Reported-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com
Cc: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_syscalls.c')
-rw-r--r-- | kernel/trace/trace_syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c index a928dd0..e7c676e 100644 --- a/kernel/trace/trace_syscalls.c +++ b/kernel/trace/trace_syscalls.c @@ -324,7 +324,7 @@ int reg_event_syscall_exit(struct ftrace_event_call *call) int num; char *name; - name = (char *)call->data; + name = call->data; num = syscall_name_to_nr(name); if (num < 0 || num >= FTRACE_SYSCALL_MAX) return -ENOSYS; @@ -347,7 +347,7 @@ void unreg_event_syscall_exit(struct ftrace_event_call *call) int num; char *name; - name = (char *)call->data; + name = call->data; num = syscall_name_to_nr(name); if (num < 0 || num >= FTRACE_SYSCALL_MAX) return; |