USBHost: Calling memcpy() instead of memset()?
USBHost: Calling memcpy() instead of memset()?

The two following memcpy() calls in USBEndpoint::init() are passing in
a NULL pointer as the copy source location.

    memcpy(td_list_[0], 0, sizeof(HCTD));
    memcpy(td_list_[1], 0, sizeof(HCTD));

I suspect that these were meant to be memset() calls instead so I
switched them.  In one of the places that I found where this method is
called, USBHost::newEndpoint(), its passes in an array of HCTD objects
which have already been cleared with similar memset() calls.  I am
therefore pretty certain that these were meant to be memset() calls but
if all callers already guarantee that they are zeroed out then maybe
the memset()s can be removed from USBEndpoint::init() anyway.

jferreir/mbed,Timmmm/mbed,j-greffe/mbed-os,maximmbed/mbed,kl-cruz/mbed-os,theotherjimmy/mbed,pedromes/mbed,Willem23/mbed,RonEld/mbed,mmorenobarm/mbed-os,cvtsi2sd/mbed-os,adustm/mbed,svastm/mbed,autopulated/mbed,alertby/mbed,pradeep-gr/mbed-os5-onsemi,tung7970/mbed-os-1,sam-geek/mbed,Shengliang/mbed,catiedev/mbed-os,Marcomissyou/mbed,cvtsi2sd/mbed-os,NordicSemiconductor/mbed,RonEld/mbed,hwfwgrp/mbed,al177/mbed,Marcomissyou/mbed,al177/mbed,mikaleppanen/mbed-os,rgrover/mbed,jeremybrodt/mbed,Marcomissyou/mbed,kjbracey-arm/mbed,j-greffe/mbed-os,Archcady/mbed-os,jpbrucker/mbed,wodji/mbed,screamerbg/mbed,geky/mbed,al177/mbed,catiedev/mbed-os,pbrook/mbed,YarivCol/mbed-os,nvlsianpu/mbed,andreaslarssonublox/mbed,GustavWi/mbed,kpurusho/mbed,DanKupiniak/mbed,mazimkhan/mbed-os,fpiot/mbed-ats,devanlai/mbed,infinnovation/mbed-os,tung7970/mbed-os-1,mbedmicro/mbed,jrjang/mbed,bentwire/mbed,svogl/mbed-os,mmorenobarm/mbed-os,rosterloh/mbed,naves-thiago/mbed-midi,larks/mbed,dbestm/mbed,betzw/mbed-os,bikeNomad/mbed,wodji/mbed,ban4jp/mbed,struempelix/mbed,larks/mbed,pedromes/mbed,DanKupiniak/mbed,karsev/mbed-os,mazimkhan/mbed-os,mnlipp/mbed,ARM-software/mbed-beetle,fpiot/mbed-ats,bikeNomad/mbed,pradeep-gr/mbed-os5-onsemi,infinnovation/mbed-os,mazimkhan/mbed-os,getopenmono/mbed,bikeNomad/mbed,dbestm/mbed,HeadsUpDisplayInc/mbed,mmorenobarm/mbed-os,pi19404/mbed,RonEld/mbed,Sweet-Peas/mbed,struempelix/mbed,bcostm/mbed-os,c1728p9/mbed-os,theotherjimmy/mbed,jrjang/mbed,jeremybrodt/mbed,c1728p9/mbed-os,getopenmono/mbed,NXPmicro/mbed,karsev/mbed-os,fvincenzo/mbed-os,bcostm/mbed-os,nRFMesh/mbed-os,fanghuaqi/mbed,pradeep-gr/mbed-os5-onsemi,autopulated/mbed,nRFMesh/mbed-os,infinnovation/mbed-os,mazimkhan/mbed-os,bremoran/mbed-drivers,jeremybrodt/mbed,CalSol/mbed,pedromes/mbed,devanlai/mbed,betzw/mbed-os,fvincenzo/mbed-os,svastm/mbed,bikeNomad/mbed,Shengliang/mbed,al177/mbed,pi19404/mbed,struempelix/mbed,monkiineko/mbed-os,theotherjimmy/mbed,ban4jp/mbed,adustm/mbed,FranklyDev/mbed,nRFMesh/mbed-os,theotherjimmy/mbed,masaohamanaka/mbed,screamerbg/mbed,mmorenobarm/mbed-os,jferreir/mbed,jamesadevine/mbed,RonEld/mbed,adamgreen/mbed,fahhem/mbed-os,kjbracey-arm/mbed,andreaslarssonublox/mbed,rosterloh/mbed,fahhem/mbed-os,geky/mbed,nabilbendafi/mbed,jrjang/mbed,bentwire/mbed,GustavWi/mbed,jferreir/mbed,screamerbg/mbed,autopulated/mbed,FranklyDev/mbed,pedromes/mbed,bulislaw/mbed-os,YarivCol/mbed-os,devanlai/mbed,mikaleppanen/mbed-os,logost/mbed,pbrook/mbed,wodji/mbed,kl-cruz/mbed-os,c1728p9/mbed-os,nabilbendafi/mbed,mikaleppanen/mbed-os,devanlai/mbed,ban4jp/mbed,bentwire/mbed,getopenmono/mbed,radhika-raghavendran/mbed-os5.1-onsemi,logost/mbed,karsev/mbed-os,bremoran/mbed-drivers,struempelix/mbed,ryankurte/mbed-os,Shengliang/mbed,svogl/mbed-os,kpurusho/mbed,radhika-raghavendran/mbed-os5.1-onsemi,betzw/mbed-os,bcostm/mbed-os,jferreir/mbed,Shengliang/mbed,adamgreen/mbed,bentwire/mbed,catiedev/mbed-os,svogl/mbed-os,K4zuki/mbed,maximmbed/mbed,alertby/mbed,bcostm/mbed-os,andreaslarssonublox/mbed,logost/mbed,sg-/mbed-drivers,adustm/mbed,brstew/MBED-BUILD,xcrespo/mbed,adamgreen/mbed,adamgreen/mbed,geky/mbed,rgrover/mbed,Tiryoh/mbed,EmuxEvans/mbed,fvincenzo/mbed-os,Marcomissyou/mbed,rgrover/mbed,nvlsianpu/mbed,HeadsUpDisplayInc/mbed,andcor02/mbed-os,xcrespo/mbed,kl-cruz/mbed-os,screamerbg/mbed,mbedmicro/mbed,Shengliang/mbed,mmorenobarm/mbed-os,rgrover/mbed,mbedmicro/mbed,K4zuki/mbed,arostm/mbed-os,HeadsUpDisplayInc/mbed,0xc0170/mbed-drivers,pbrook/mbed,maximmbed/mbed,betzw/mbed-os,naves-thiago/mbed-midi,nvlsianpu/mbed,Shengliang/mbed,monkiineko/mbed-os,svastm/mbed,iriark01/mbed-drivers,sam-geek/mbed,getopenmono/mbed,larks/mbed,getopenmono/mbed,screamerbg/mbed,fahhem/mbed-os,rosterloh/mbed,andcor02/mbed-os,masaohamanaka/mbed,monkiineko/mbed-os,NXPmicro/mbed,GustavWi/mbed,YarivCol/mbed-os,pradeep-gr/mbed-os5-onsemi,bcostm/mbed-os,NordicSemiconductor/mbed,nabilbendafi/mbed,alertby/mbed,DanKupiniak/mbed,Willem23/mbed,catiedev/mbed-os,jpbrucker/mbed,Marcomissyou/mbed,naves-thiago/mbed-midi,CalSol/mbed,Tiryoh/mbed,al177/mbed,Timmmm/mbed,jamesadevine/mbed,karsev/mbed-os,fanghuaqi/mbed,devanlai/mbed,bulislaw/mbed-os,naves-thiago/mbed-midi,maximmbed/mbed,monkiineko/mbed-os,naves-thiago/mbed-midi,kl-cruz/mbed-os,tung7970/mbed-os-1,JasonHow44/mbed,jamesadevine/mbed,c1728p9/mbed-os,j-greffe/mbed-os,mmorenobarm/mbed-os,Marcomissyou/mbed,NitinBhaskar/mbed,0xc0170/mbed-drivers,tung7970/mbed-os,sam-geek/mbed,jamesadevine/mbed,nvlsianpu/mbed,larks/mbed,masaohamanaka/mbed,autopulated/mbed,NordicSemiconductor/mbed,hwfwgrp/mbed,fpiot/mbed-ats,CalSol/mbed,nRFMesh/mbed-os,catiedev/mbed-os,nabilbendafi/mbed,struempelix/mbed,adustm/mbed,Willem23/mbed,kjbracey-arm/mbed,pradeep-gr/mbed-os5-onsemi,jrjang/mbed,hwfwgrp/mbed,svogl/mbed-os,j-greffe/mbed-os,geky/mbed,bulislaw/mbed-os,adamgreen/mbed,fahhem/mbed-os,kpurusho/mbed,K4zuki/mbed,jferreir/mbed,mnlipp/mbed,infinnovation/mbed-os,al177/mbed,wodji/mbed,svogl/mbed-os,EmuxEvans/mbed,Timmmm/mbed,ARM-software/mbed-beetle,HeadsUpDisplayInc/mbed,screamerbg/mbed,ARM-software/mbed-beetle,JasonHow44/mbed,cvtsi2sd/mbed-os,karsev/mbed-os,tung7970/mbed-os,kpurusho/mbed,andcor02/mbed-os,K4zuki/mbed,pi19404/mbed,mazimkhan/mbed-os,brstew/MBED-BUILD,Tiryoh/mbed,netzimme/mbed-os,Tiryoh/mbed,autopulated/mbed,brstew/MBED-BUILD,rosterloh/mbed,fahhem/mbed-os,Willem23/mbed,bentwire/mbed,andreaslarssonublox/mbed,bulislaw/mbed-os,RonEld/mbed,mnlipp/mbed,pradeep-gr/mbed-os5-onsemi,mikaleppanen/mbed-os,YarivCol/mbed-os,mikaleppanen/mbed-os,tung7970/mbed-os,jpbrucker/mbed,NXPmicro/mbed,adustm/mbed,brstew/MBED-BUILD,bulislaw/mbed-os,radhika-raghavendran/mbed-os5.1-onsemi,Archcady/mbed-os,JasonHow44/mbed,nvlsianpu/mbed,naves-thiago/mbed-midi,bikeNomad/mbed,Willem23/mbed,betzw/mbed-os,Sweet-Peas/mbed,larks/mbed,arostm/mbed-os,hwfwgrp/mbed,NXPmicro/mbed,Timmmm/mbed,alertby/mbed,wodji/mbed,masaohamanaka/mbed,jpbrucker/mbed,masaohamanaka/mbed,fvincenzo/mbed-os,pbrook/mbed,rosterloh/mbed,HeadsUpDisplayInc/mbed,iriark01/mbed-drivers,maximmbed/mbed,kjbracey-arm/mbed,jferreir/mbed,Sweet-Peas/mbed,logost/mbed,adustm/mbed,wodji/mbed,Timmmm/mbed,nRFMesh/mbed-os,pedromes/mbed,FranklyDev/mbed,YarivCol/mbed-os,EmuxEvans/mbed,pedromes/mbed,arostm/mbed-os,dbestm/mbed,rosterloh/mbed,ryankurte/mbed-os,nabilbendafi/mbed,jpbrucker/mbed,hwfwgrp/mbed,EmuxEvans/mbed,mnlipp/mbed,arostm/mbed-os,CalSol/mbed,tung7970/mbed-os-1,fpiot/mbed-ats,NitinBhaskar/mbed,fanghuaqi/mbed,radhika-raghavendran/mbed-os5.1-onsemi,HeadsUpDisplayInc/mbed,tung7970/mbed-os-1,andcor02/mbed-os,j-greffe/mbed-os,DanKupiniak/mbed,K4zuki/mbed,andcor02/mbed-os,fvincenzo/mbed-os,masaohamanaka/mbed,fanghuaqi/mbed,adamgreen/mbed,kl-cruz/mbed-os,GustavWi/mbed,hwfwgrp/mbed,jeremybrodt/mbed,RonEld/mbed,ban4jp/mbed,brstew/MBED-BUILD,Timmmm/mbed,mazimkhan/mbed-os,cvtsi2sd/mbed-os,mbedmicro/mbed,mnlipp/mbed,svogl/mbed-os,fpiot/mbed-ats,CalSol/mbed,NXPmicro/mbed,ban4jp/mbed,Archcady/mbed-os,j-greffe/mbed-os,bcostm/mbed-os,ryankurte/mbed-os,fanghuaqi/mbed,Sweet-Peas/mbed,infinnovation/mbed-os,sam-geek/mbed,xcrespo/mbed,kl-cruz/mbed-os,mikaleppanen/mbed-os,andreaslarssonublox/mbed,dbestm/mbed,sg-/mbed-drivers,rgrover/mbed,catiedev/mbed-os,NitinBhaskar/mbed,netzimme/mbed-os,JasonHow44/mbed,kpurusho/mbed,Archcady/mbed-os,svastm/mbed,ban4jp/mbed,pbrook/mbed,GustavWi/mbed,Archcady/mbed-os,jeremybrodt/mbed,geky/mbed,FranklyDev/mbed,betzw/mbed-os,pbrook/mbed,CalSol/mbed,NXPmicro/mbed,Archcady/mbed-os,EmuxEvans/mbed,logost/mbed,tung7970/mbed-os,YarivCol/mbed-os,bulislaw/mbed-os,JasonHow44/mbed,mbedmicro/mbed,cvtsi2sd/mbed-os,theotherjimmy/mbed,infinnovation/mbed-os,jrjang/mbed,jrjang/mbed,svastm/mbed,bentwire/mbed,alertby/mbed,andcor02/mbed-os,ARM-software/mbed-beetle,radhika-raghavendran/mbed-os5.1-onsemi,logost/mbed,Tiryoh/mbed,netzimme/mbed-os,Tiryoh/mbed,sam-geek/mbed,monkiineko/mbed-os,nvlsianpu/mbed,autopulated/mbed,maximmbed/mbed,Sweet-Peas/mbed,NordicSemiconductor/mbed,radhika-raghavendran/mbed-os5.1-onsemi,netzimme/mbed-os,larks/mbed,karsev/mbed-os,FranklyDev/mbed,K4zuki/mbed,alertby/mbed,netzimme/mbed-os,jamesadevine/mbed,theotherjimmy/mbed,arostm/mbed-os,ryankurte/mbed-os,JasonHow44/mbed,tung7970/mbed-os,cvtsi2sd/mbed-os,c1728p9/mbed-os,fahhem/mbed-os,devanlai/mbed,jamesadevine/mbed,dbestm/mbed,c1728p9/mbed-os,xcrespo/mbed,brstew/MBED-BUILD,pi19404/mbed,ryankurte/mbed-os,jpbrucker/mbed,arostm/mbed-os,ryankurte/mbed-os,kpurusho/mbed,pi19404/mbed,NitinBhaskar/mbed,xcrespo/mbed,pi19404/mbed,nabilbendafi/mbed,xcrespo/mbed,struempelix/mbed,getopenmono/mbed,mnlipp/mbed,dbestm/mbed,NitinBhaskar/mbed,nRFMesh/mbed-os,monkiineko/mbed-os,Sweet-Peas/mbed,netzimme/mbed-os,EmuxEvans/mbed,fpiot/mbed-ats