migration: move port_attr inside CONFIG_LINUX
commit1f4abd81f7dfeb9d622b37368bef22a6481ebc66
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 1 Jul 2019 15:06:04 +0000 (1 16:06 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 4 Jul 2019 18:23:07 +0000 (4 19:23 +0100)
treecb22f4fbc938ea7c07be4c2cb7f92562225249cb
parent4cdf03e21ea9d00d988b210864f44cfef29d5919
migration: move port_attr inside CONFIG_LINUX

Otherwise the FreeBSD compiler complains about an unused variable.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
migration/rdma.c