From 0f5d1ec929ef64e137262e6d1518a16126fb3421 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Mon, 28 Feb 2022 18:09:19 +1100 Subject: [PATCH] Remove redundant ptp_access_mutex mutex -- don't need it anymore. --- ptp-utilities.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ptp-utilities.c b/ptp-utilities.c index 993711d7..ce04f2cd 100644 --- a/ptp-utilities.c +++ b/ptp-utilities.c @@ -48,8 +48,6 @@ int shm_fd; void *mapped_addr = NULL; -static pthread_mutex_t ptp_access_mutex = PTHREAD_MUTEX_INITIALIZER; - // returns a copy of the shared memory data from the nqptp // shared memory interface, so long as it's open. int get_nqptp_data(struct shm_structure *nqptp_data) {