Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb21c158 authored by Marek Belisko's avatar Marek Belisko Committed by Greg Kroah-Hartman
Browse files

staging: ft1000: Use memset instead looping with for.

parent 4d26d7e6
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -874,10 +874,7 @@ u16 init_ft1000_netdev(struct ft1000_device *ft1000dev)
    pInfo->fCondResetPend = 0;
	pInfo->usbboot = 0;
	pInfo->dspalive = 0;
	for (i=0;i<32 ;i++ )
	{
		pInfo->tempbuf[i] = 0;
	}
	memset(&pInfo->tempbuf[0], 0, sizeof(pInfo->tempbuf));

    INIT_LIST_HEAD(&pInfo->prov_list);