1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00

tidy: drop unneeded return

This commit is contained in:
Zdenek Kabelac 2017-07-19 23:53:16 +02:00
parent 4ef6cfc882
commit 1fd8785ff3
4 changed files with 0 additions and 8 deletions

View File

@ -425,8 +425,6 @@ static void _add_up_node(const char *csid)
DEBUGLOG("openais_add_up_node %d\n", ninfo->nodeid);
ninfo->state = NODE_CLVMD;
return;
}
/* Call a callback for each node, so the caller knows whether it's up or down */

View File

@ -2311,13 +2311,11 @@ static void ntoh_clvm(struct clvm_header *hdr)
static void sigusr2_handler(int sig)
{
DEBUGLOG("SIGUSR2 received\n");
return;
}
static void sigterm_handler(int sig)
{
quit = 1;
return;
}
static void sighup_handler(int sig)

View File

@ -1600,8 +1600,6 @@ void lvmcache_del(struct lvmcache_info *info)
info->label->labeller->ops->destroy_label(info->label->labeller,
info->label);
dm_free(info);
return;
}
/*

View File

@ -1965,10 +1965,8 @@ void print_usage(struct command *cmd, int longhelp, int desc_first)
_print_usage_description(cmd);
printf("\n");
return;
}
void print_usage_common_lvm(struct command_name *cname, struct command *cmd)
{
int oo, opt_enum;