virtio: fix build with debug enabled
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 13 Jun 2014 01:32:50 +0000 (18:32 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 13 Jun 2014 09:18:56 +0000 (11:18 +0200)
commit36c248ebc629889fff4e7d9d17e109412ddf9ecf
tree7232ccd720f9dcc24668dbbef5dbfe6e7d38b413
parent14337d0b7a1c242d215ffe49f9619bcc083bd145
virtio: fix build with debug enabled

Remove useless message that breaks if VIRTIO_DEBUG_DRIVER is defined.
virtio_ethdev.c:224:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]

Signed-off-by: Stephen Hemminger <shemming@brocade.com>
Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
lib/librte_pmd_virtio/virtio_ethdev.c