null: drop unneeded casts from void* to non-void*
authorTomohiro Kusumi <tkusumi@tuxera.com>
Mon, 15 Jan 2018 19:52:12 +0000 (21:52 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 16 Jan 2018 15:32:39 +0000 (08:32 -0700)
commitca65714c48bcd4fc601e3c04163e2422352be9ca
tree01a80c37603ff073aa24a40f1a2e11d7a9143f65
parent7caf10f1b7c6e52280603c4fb45ffc41f60190b9
null: drop unneeded casts from void* to non-void*

Some functions in null ioengine are used by C/C++ (e.g. null_init()
which calls malloc(3)), but C specific ones (not __cplusplus) don't
need explicit cast from void* to non-void*, and one usually doesn't.

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/null.c