mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
tidy: drop unneeded return
This commit is contained in:
parent
4ef6cfc882
commit
1fd8785ff3
@ -425,8 +425,6 @@ static void _add_up_node(const char *csid)
|
|||||||
DEBUGLOG("openais_add_up_node %d\n", ninfo->nodeid);
|
DEBUGLOG("openais_add_up_node %d\n", ninfo->nodeid);
|
||||||
|
|
||||||
ninfo->state = NODE_CLVMD;
|
ninfo->state = NODE_CLVMD;
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Call a callback for each node, so the caller knows whether it's up or down */
|
/* Call a callback for each node, so the caller knows whether it's up or down */
|
||||||
|
@ -2311,13 +2311,11 @@ static void ntoh_clvm(struct clvm_header *hdr)
|
|||||||
static void sigusr2_handler(int sig)
|
static void sigusr2_handler(int sig)
|
||||||
{
|
{
|
||||||
DEBUGLOG("SIGUSR2 received\n");
|
DEBUGLOG("SIGUSR2 received\n");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void sigterm_handler(int sig)
|
static void sigterm_handler(int sig)
|
||||||
{
|
{
|
||||||
quit = 1;
|
quit = 1;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void sighup_handler(int sig)
|
static void sighup_handler(int sig)
|
||||||
|
2
lib/cache/lvmcache.c
vendored
2
lib/cache/lvmcache.c
vendored
@ -1600,8 +1600,6 @@ void lvmcache_del(struct lvmcache_info *info)
|
|||||||
info->label->labeller->ops->destroy_label(info->label->labeller,
|
info->label->labeller->ops->destroy_label(info->label->labeller,
|
||||||
info->label);
|
info->label);
|
||||||
dm_free(info);
|
dm_free(info);
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1965,10 +1965,8 @@ void print_usage(struct command *cmd, int longhelp, int desc_first)
|
|||||||
_print_usage_description(cmd);
|
_print_usage_description(cmd);
|
||||||
|
|
||||||
printf("\n");
|
printf("\n");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void print_usage_common_lvm(struct command_name *cname, struct command *cmd)
|
void print_usage_common_lvm(struct command_name *cname, struct command *cmd)
|
||||||
{
|
{
|
||||||
int oo, opt_enum;
|
int oo, opt_enum;
|
||||||
|
Loading…
Reference in New Issue
Block a user