projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sg: drop redundant void* cast
[fio.git]
/
engines
/
sg.c
diff --git
a/engines/sg.c
b/engines/sg.c
index b924ca3e0ae2afc2cfa83ab5b124fdfea53cda4c..833d9205470075c9d2d0354fc67981bb7e88449e 100644
(file)
--- a/
engines/sg.c
+++ b/
engines/sg.c
@@
-184,7
+184,7
@@
re_read:
if (hdr->info & SG_INFO_CHECK) {
struct io_u *io_u;
io_u = (struct io_u *)(hdr->usr_ptr);
- memcpy(
(void*)&(io_u->hdr), (void*)
hdr, sizeof(struct sg_io_hdr));
+ memcpy(
&io_u->hdr,
hdr, sizeof(struct sg_io_hdr));
sd->events[i]->error = EIO;
}
}