Yeah, I knew, but it worth a different commit :)

On Wed, Apr 13, 2016 at 5:28 PM, Hans Petter Selasky <[email protected]> wrote:
> On 04/13/16 11:20, Sepherosa Ziehau wrote:
>>
>>         bzero(sc, sizeof(hn_softc_t));
>
>
> Hi,
>
> According to:
>
>>
>> https://svnweb.freebsd.org/base/head/sys/kern/subr_bus.c?revision=297776&view=markup#l2763
>
>
> It is safe to assume that the memory you get is already zero'ed.
>
> The additional bzero() in your attach routine seems redundant.
>
> --HPS



-- 
Tomorrow Will Never Die
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to