[ofw] Re: [ofa-general] RE: [ib-diag] sminfo: add support for WinOF

Sasha Khapyorsky sashak at voltaire.com
Sat Feb 14 21:07:25 PST 2009


On 18:04 Sat 14 Feb     , Sean Hefty wrote:
> >>static const struct ibdiag_opt *opts_map[256];
> >>
> >>and later:
> >>
> >>	memset(opts_map, 0, sizeof(opts_map));
> 
> And on second thought... can we just drop the memset completely?

Yes, this is static and already initialized.

Sasha



More information about the ofw mailing list