summaryrefslogtreecommitdiff
path: root/sysdeps/linux/msg_limits.c
diff options
context:
space:
mode:
authorBenoît Dejean <benoit@placenet.org>2007-05-20 21:55:42 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2007-05-20 21:55:42 +0000
commit6509ddff4c941afc0ac0247aefb6206121179e48 (patch)
treec8a02053e81712eaa9203ab785cf303e21d43a2b /sysdeps/linux/msg_limits.c
parentee78aaf29c76b871bf4878968c979535317a4b90 (diff)
downloadlibgtop-6509ddff4c941afc0ac0247aefb6206121179e48.tar.gz
Got rid of glibtop_init_s calls. If i'm right, these are only no-op and
2007-05-20 Benoît Dejean <benoit@placenet.org> * *.c: Got rid of glibtop_init_s calls. If i'm right, these are only no-op and the legacy stub/ don't have any calls to them, so it's should harmless. So let's try it. svn path=/trunk/; revision=2598
Diffstat (limited to 'sysdeps/linux/msg_limits.c')
-rw-r--r--sysdeps/linux/msg_limits.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/linux/msg_limits.c b/sysdeps/linux/msg_limits.c
index e579ae6a..69c3ad41 100644
--- a/sysdeps/linux/msg_limits.c
+++ b/sysdeps/linux/msg_limits.c
@@ -46,8 +46,6 @@ glibtop_get_msg_limits_s (glibtop *server, glibtop_msg_limits *buf)
{
struct msginfo msginfo;
- glibtop_init_s (&server, GLIBTOP_SYSDEPS_MSG_LIMITS, 0);
-
memset (buf, 0, sizeof (glibtop_msg_limits));
msgctl (0, IPC_INFO, (void*) &msginfo);