summaryrefslogtreecommitdiff
path: root/sysdeps/linux/mem.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/mem.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/mem.c')
-rw-r--r--sysdeps/linux/mem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/linux/mem.c b/sysdeps/linux/mem.c
index b8fa63f9..d9964a4c 100644
--- a/sysdeps/linux/mem.c
+++ b/sysdeps/linux/mem.c
@@ -48,8 +48,6 @@ glibtop_get_mem_s (glibtop *server, glibtop_mem *buf)
{
char buffer [BUFSIZ];
- glibtop_init_s (&server, GLIBTOP_SYSDEPS_MEM, 0);
-
memset(buf, 0, sizeof *buf);
file_to_buffer(server, buffer, FILENAME);