From: Jens Axboe Date: Thu, 22 Feb 2007 10:11:48 +0000 (+0100) Subject: No need to cast async_exec() syscall to void * anymore X-Git-Tag: fio-1.12~37 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=145dad6d3e1ae4bf44dd49eea9d0c025500b97d0 No need to cast async_exec() syscall to void * anymore Ingo forward declared the types. Signed-off-by: Jens Axboe --- diff --git a/os-linux.h b/os-linux.h index b147d4f3..eb60034c 100644 --- a/os-linux.h +++ b/os-linux.h @@ -91,7 +91,7 @@ struct async_head_user; static inline struct syslet_uatom * async_exec(struct syslet_uatom *atom, struct async_head_user *ahu) { - return (void *) syscall(__NR_async_exec, atom, ahu); + return syscall(__NR_async_exec, atom, ahu); } static inline long