Remove unused variables
Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
parent
9d89c5bc8e
commit
e2df502abc
@ -774,7 +774,7 @@ static void netlink_shutdown(void)
|
|||||||
|
|
||||||
static int netlink_do_init(void)
|
static int netlink_do_init(void)
|
||||||
{
|
{
|
||||||
int err, i;
|
int err;
|
||||||
|
|
||||||
if (!(sock = nl_socket_alloc())) {
|
if (!(sock = nl_socket_alloc())) {
|
||||||
fprintf(stderr, "Unable to allocate netlink socket\n");
|
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)
|
int module_set(struct bmon_subsys *ss, const char *name)
|
||||||
{
|
{
|
||||||
struct bmon_module *mod;
|
struct bmon_module *mod;
|
||||||
struct list_head *list;
|
|
||||||
LIST_HEAD(tmp_list);
|
LIST_HEAD(tmp_list);
|
||||||
module_conf_t *m;
|
module_conf_t *m;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include <bmon/utils.h>
|
#include <bmon/utils.h>
|
||||||
#include <bmon/unit.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);
|
static LIST_HEAD(units);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user