commit | 18610bfd3e9a91c174e009c0528c9c0dc1ffb888 | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <philmd@redhat.com> | Thu Feb 20 10:39:00 2020 +0100 |
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | Thu Feb 20 14:47:08 2020 +0100 |
tree | c4d57ff5a979a762867d6576b1df600b161980da | |
parent | 4b314c1a71e398f428de69ae719967cd9902f61d [diff] |
hw: Remove unnecessary cast when calling dma_memory_read() Since its introduction in commit d86a77f8abb, dma_memory_read() always accepted void pointer argument. Remove the unnecessary casts. This commit was produced with the included Coccinelle script scripts/coccinelle/exec_rw_const. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> --- v4: Drop parenthesis when removing cast (Eric Blake)