[linux-dvb] dvb-t fix for hvr-4000 multiproto

Andreas Oberritter obi at linuxtv.org
Thu Sep 25 01:49:17 CEST 2008


Mika Laitio wrote:
> memset and udelay changes from s2-mfe were really not making any visible
> changes for me, but at least the memset call is a good thing to do.

+	memset(&core->board, 0, sizeof(core->board));
 	memcpy(&core->board, &cx88_boards[core->boardnr], sizeof(core->board));

Contrary to your opinion, this call to memset is superflous, as all the
zeroes get overwritten by the call to memcpy.

Regards,
Andreas




More information about the linux-dvb mailing list