commit | d2cffe303e3d0a40146c5edf672485cd804cef20 | [log] [tgz] |
---|---|---|
author | Mark McLoughlin <markmc@redhat.com> | Tue Oct 06 12:16:54 2009 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Tue Oct 06 14:36:10 2009 -0500 |
tree | 13de88b49285d60a17d6f313b0e1fad3dead514e | |
parent | 9203f5202bf4bc7e4669ba19d3e6aac7761bd385 [diff] |
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 <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>