From 8ca57814f6ff273288552746f523631f9c6abe68 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Thu, 9 Apr 2015 00:49:28 +0200 Subject: [PATCH] ipc: remove extraneous call to sysconf() --- src/ipc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ipc.c b/src/ipc.c index 3cf5367a..2d2db2ab 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -203,7 +203,6 @@ static int ipc_read_shm (void) /* {{{ */ { #if KERNEL_LINUX struct shm_info shm_info; - pagesize_g = sysconf(_SC_PAGESIZE); if ( shmctl(0, SHM_INFO, (struct shmid_ds *) (void *) &shm_info) < 0 ) { -- 2.30.2