diff options
author | Sasha Levin <levinsasha928@gmail.com> | 2011-08-14 17:52:33 +0300 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-11-02 11:40:58 +1030 |
commit | 77dd7693c52d002d24be6842fb0b766116a6079f (patch) | |
tree | 5717a04c0cc07d94c744a1162abcbff70a3102c6 /include/linux | |
parent | 3ead6f4d42e2866a48d7abf9bc98553f1110b6df (diff) |
virtio-net: Use virtio_config_val() for retrieving config
This patch modifies virtio-net to use virtio_config_val() instead
of a 'if(virtio_has_feature()) vdev->config->get()' construct to retrieve
optional values from the config space.
Cc: Amit Shah <amit.shah@redhat.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: virtualization@lists.linux-foundation.org
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions