diff options
author | Alex Williamson <alex.williamson@hp.com> | 2009-05-01 17:27:56 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-01 21:26:36 -0700 |
commit | 23e258e1a871c0c0cd91c294f7e66ccac74ef243 (patch) | |
tree | 40c63315433e8e6a8a04e9d36d79680e25ea5f63 /drivers/net/atl1e/atl1e_param.c | |
parent | 1363d9b135270662852ed2e6629fb79a36de5400 (diff) |
virtio_net: Cleanup command queue scatterlist usage
We were avoiding calling sg_init* on scatterlists passed
into virtnet_send_command to prevent extraneous end markers.
This caused build warnings for uninitialized variables.
Cleanup the code to create proper scatterlists.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atl1e/atl1e_param.c')
0 files changed, 0 insertions, 0 deletions