projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipc: remove extraneous call to sysconf()
[collectd.git]
/
src
/
ipc.c
diff --git
a/src/ipc.c
b/src/ipc.c
index
3cf5367
..
2d2db2a
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 )
{