No need to cast async_exec() syscall to void * anymore
authorJens Axboe <jens.axboe@oracle.com>
Thu, 22 Feb 2007 10:11:48 +0000 (11:11 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 22 Feb 2007 10:11:48 +0000 (11:11 +0100)
Ingo forward declared the types.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
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