OSDN Git Service

move virtnet_send_command() above virtnet_set_mac_address()
authorAmos Kong <akong@redhat.com>
Mon, 21 Jan 2013 01:17:21 +0000 (01:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jan 2013 19:07:43 +0000 (14:07 -0500)
commit40cbfc37075a2ae2ed6c769cb0e9193819511f0a
tree1bd8b4c42357c67b7d12d7bbedccaa4aeddd7664
parent3fcd550a4b37b1c60b4afce2e4b200919ec8bd20
move virtnet_send_command() above virtnet_set_mac_address()

We want to send vq command to set mac address in
virtnet_set_mac_address(), so do this function moving.
Fixed a little issue of coding style.

Signed-off-by: Amos Kong <akong@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c