Remove parentheses around return arguments
[collectd.git] / src / hugepages.c
index 1eb8b0c..871e625 100644 (file)
@@ -76,13 +76,13 @@ static int hp_config(oconfig_item_t *ci) {
             child->key);
   }
 
-  return (0);
+  return 0;
 }
 
 static void submit_hp(const struct entry_info *info) {
   value_list_t vl = VALUE_LIST_INIT;
 
-  vl.values = &(value_t) { .gauge = NAN };
+  vl.values = &(value_t){.gauge = NAN};
   vl.values_len = 1;
 
   sstrncpy(vl.plugin, g_plugin_name, sizeof(vl.plugin));