| @ -774,7 +774,7 @@ static void netlink_shutdown(void) | ||||
|  | ||||
| static int netlink_do_init(void) | ||||
| { | ||||
| 	int err, i; | ||||
| 	int err; | ||||
|  | ||||
| 	if (!(sock = nl_socket_alloc())) { | ||||
| 		fprintf(stderr, "Unable to allocate netlink socket\n"); | ||||
|  | ||||
| @ -130,7 +130,6 @@ static void __auto_load(struct bmon_module *m) | ||||
| int module_set(struct bmon_subsys *ss, const char *name) | ||||
| { | ||||
| 	struct bmon_module *mod; | ||||
| 	struct list_head *list; | ||||
| 	LIST_HEAD(tmp_list); | ||||
| 	module_conf_t *m; | ||||
|  | ||||
|  | ||||
| @ -28,7 +28,7 @@ | ||||
| #include <bmon/utils.h> | ||||
| #include <bmon/unit.h> | ||||
|  | ||||
| static struct unit *byte_unit, *bit_unit, *number_unit; | ||||
| static struct unit *byte_unit, *bit_unit; | ||||
|  | ||||
| static LIST_HEAD(units); | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user