From 145dad6d3e1ae4bf44dd49eea9d0c025500b97d0 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 22 Feb 2007 11:11:48 +0100 Subject: [PATCH] No need to cast async_exec() syscall to void * anymore Ingo forward declared the types. Signed-off-by: Jens Axboe --- os-linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1