No need to cast async_exec() syscall to void * anymore
[fio.git] / os-linux.h
index b147d4f3b340c0fd2bb5f352b469beb97e6b57e7..eb60034cc7d4fad59816925c382b090bdf50a918 100644 (file)
@@ -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