From 70c0e25a63b35c6a2dc056932eba537cc2ae1b13 Mon Sep 17 00:00:00 2001 From: Vincent Brillault Date: Tue, 23 Sep 2014 21:40:46 +0200 Subject: [PATCH] Turbostat: complex read register is now useless --- src/turbostat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/turbostat.c b/src/turbostat.c index 2f07a582..276159da 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -1450,7 +1450,7 @@ err: } static int -turbostat_read(user_data_t * not_used) +turbostat_read(void) { int ret; @@ -1532,7 +1532,7 @@ turbostat_init(void) DO_OR_GOTO_ERR(setup_all_buffers()); - plugin_register_complex_read(NULL, PLUGIN_NAME, turbostat_read, NULL, NULL); + plugin_register_read(PLUGIN_NAME, turbostat_read); return 0; err: -- 2.30.2