ipc: Remove no longer used semaphore code (NFC)

This commit is contained in:
Jakob Bornecrantz 2020-06-24 22:49:38 +01:00
parent e59b4a1cb1
commit 513ebd9957
2 changed files with 0 additions and 11 deletions

View file

@ -13,10 +13,8 @@
#include "xrt/xrt_device.h"
#include "xrt/xrt_compiler.h"
#include "xrt/xrt_compositor.h"
#include "xrt/xrt_results.h"
#include <semaphore.h>
#define IPC_MSG_SOCK_FILE "/tmp/monado_comp_ipc"
#define IPC_MAX_SWAPCHAIN_FDS 8
@ -163,13 +161,6 @@ struct ipc_shared_memory
struct xrt_output outputs[IPC_SHARED_MAX_OUTPUTS];
struct ipc_layer_slot slots[IPC_MAX_SLOTS];
struct
{
uint64_t predicted_display_time;
uint64_t predicted_display_period;
sem_t sem;
} wait_frame;
};
/*

View file

@ -241,8 +241,6 @@ init_shm(struct ipc_server *s)
// Finally tell the client how many devices we have.
s->ism->num_idevs = count;
sem_init(&s->ism->wait_frame.sem, true, 0);
return 0;
}