virtio: Drop superfluous conditionals around g_strdup()
commit80e0090a44388d8924f548e49f7390c1e1585761
authorMarkus Armbruster <armbru@redhat.com>
Fri, 6 Jun 2014 16:43:30 +0000 (6 18:43 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 13:41:53 +0000 (19 16:41 +0300)
tree15bba61eb0e8a124dd105ac210807eb462080e42
parent9e28840658824f52f03f5a69661fd4b22987feeb
virtio: Drop superfluous conditionals around g_strdup()

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
hw/net/virtio-net.c
hw/virtio/virtio.c