Code

ipc: remove extraneous call to sysconf()
authorMarc Fournier <marc.fournier@camptocamp.com>
Wed, 8 Apr 2015 22:49:28 +0000 (00:49 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Wed, 8 Apr 2015 22:49:28 +0000 (00:49 +0200)
src/ipc.c

index 3cf5367ae99427a6e75f2e72959e48bf24bbbf75..2d2db2abb0ac7727aaecbe97cdcdc0e40397f3d3 100644 (file)
--- 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 )
   {