]> Git Repo - qemu.git/commit - net.c
Move memset() from net_client_uninit() to net_client_init()
authorMark McLoughlin <[email protected]>
Tue, 6 Oct 2009 11:16:54 +0000 (12:16 +0100)
committerAnthony Liguori <[email protected]>
Tue, 6 Oct 2009 19:36:10 +0000 (14:36 -0500)
commitd2cffe303e3d0a40146c5edf672485cd804cef20
tree13de88b49285d60a17d6f313b0e1fad3dead514e
parent9203f5202bf4bc7e4669ba19d3e6aac7761bd385
Move memset() from net_client_uninit() to net_client_init()

zeroing a structure before using it is more common than zeroing after
using it. Also makes the setting of nd->used more obvious.

Signed-off-by: Mark McLoughlin <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
net.c
This page took 0.024109 seconds and 4 git commands to generate.