From: Marc Fournier Date: Wed, 8 Apr 2015 22:49:28 +0000 (+0200) Subject: ipc: remove extraneous call to sysconf() X-Git-Tag: collectd-5.5.0~50 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=8ca57814f6ff273288552746f523631f9c6abe68;p=collectd.git ipc: remove extraneous call to sysconf() --- 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 ) {