ivshmem: remove unnecessary dup()
commitdee2151e7260a65c27495e9cbfc1931d9c9083d9
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 22 Jun 2015 10:38:34 +0000 (22 12:38 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 24 Oct 2015 16:02:48 +0000 (24 18:02 +0200)
treed352084f1bb0c2acb95b43985e1bd2a0df90ea46
parent0f14fd71c170278b35b46d8ae214473680905606
ivshmem: remove unnecessary dup()

qemu_chr_fe_get_msgfd() transfers ownership, there is no need to dup the
fd.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
hw/misc/ivshmem.c