diff options
-rw-r--r-- | samples/server.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/samples/server.c b/samples/server.c index 1ab184e..79d645a 100644 --- a/samples/server.c +++ b/samples/server.c @@ -546,11 +546,6 @@ int main(int argc, char *argv[]) if (ftruncate(fileno(migr_fp), migr_size) == -1) { err(EXIT_FAILURE, "failed to truncate migration file"); } - server_data.bar1 = mmap(NULL, server_data.bar1_size, PROT_READ | PROT_WRITE, - MAP_SHARED, fileno(bar1_fp), 0); - if (server_data.bar1 == MAP_FAILED) { - err(EXIT_FAILURE, "failed to mmap migration file"); - } struct iovec migr_mmap_areas[] = { [0] = { .iov_base = (void *)migr_regs_size, |