]> arthur.barton.de Git - netdata.git/blobdiff - src/proc_net_rpc_nfsd.c
convert plugin_proc to heartbeat API
[netdata.git] / src / proc_net_rpc_nfsd.c
index 02a8c8f90115bf35b1c7d73e6caff6f727c40988..e857ad6a4066506ce15eb78483f29b08ce00e2dd 100644 (file)
@@ -210,12 +210,11 @@ struct nfsd_procs nfsd4_ops_values[] = {
 
 
 int do_proc_net_rpc_nfsd(int update_every, usec_t dt) {
+    (void)dt;
     static procfile *ff = NULL;
     static int do_rc = -1, do_fh = -1, do_io = -1, do_th = -1, do_ra = -1, do_net = -1, do_rpc = -1, do_proc2 = -1, do_proc3 = -1, do_proc4 = -1, do_proc4ops = -1;
     static int ra_warning = 0, th_warning = 0, proc2_warning = 0, proc3_warning = 0, proc4_warning = 0, proc4ops_warning = 0;
 
-    if(dt) {};
-
     if(!ff) {
         char filename[FILENAME_MAX + 1];
         snprintfz(filename, FILENAME_MAX, "%s%s", global_host_prefix, "/proc/net/rpc/nfsd");