Remove unnecessary casts to (void *)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
diff --git a/inarp.c b/inarp.c
index 4b237ba..10db859 100644
--- a/inarp.c
+++ b/inarp.c
@@ -67,8 +67,8 @@
memcpy(socket_address.sll_addr, dest_mac, ETH_ALEN);
/* set the frame header */
- memcpy(arp.eh.h_dest, (void *)dest_mac, ETH_ALEN);
- memcpy(arp.eh.h_source, (void *)src_mac, ETH_ALEN);
+ memcpy(arp.eh.h_dest, dest_mac, ETH_ALEN);
+ memcpy(arp.eh.h_source, src_mac, ETH_ALEN);
arp.eh.h_proto = htons(ETH_P_ARP);
/* Fill InARP request data for ethernet + ipv4 */