Commit 51b67a6e authored by Himanshu Jha's avatar Himanshu Jha Committed by Geert Uytterhoeven
Browse files

nubus: Remove cast to void pointer

parent 54ecb8f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ unsigned char *nubus_dirptr(const struct nubus_dirent *nd)
void nubus_get_rsrc_mem(void *dest, const struct nubus_dirent *dirent,
			unsigned int len)
{
	unsigned char *t = (unsigned char *)dest;
	unsigned char *t = dest;
	unsigned char *p = nubus_dirptr(dirent);

	while (len) {