initramfs: Remove unnecessary (void*) conversions
PATCH 1/1 initramfs: Remove unnecessary (void*) conversions
The bufv pointer does not need to cast the type.
Signed-off-by Li zeming <[email protected]>
--- init/initramfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
init/initramfs.c +1 -1
@@ -461,7 +461,7 @@ static long __init write_buffer(char *buf, unsigned long len)static long __init flush_buffer (void *bufv,unsigned long len) { -char *buf = (char *) bufv; +char *buf = bufv;long written;long origLen = len;if (message)
Signature · 1 line
2.18.2