remove useless return statement
Get rid of:
void foo() {
...
return;
}
This commit is contained in:
parent
4a564d914d
commit
ae810982cc
|
|
@ -373,7 +373,6 @@ next:
|
||||||
}
|
}
|
||||||
|
|
||||||
globfree(&globbuf);
|
globfree(&globbuf);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,6 @@ static void usage(void)
|
||||||
fprintf(stderr, "Where:\n");
|
fprintf(stderr, "Where:\n");
|
||||||
fprintf(stderr, "QDISC_KIND := { prio | cbq | etc. }\n");
|
fprintf(stderr, "QDISC_KIND := { prio | cbq | etc. }\n");
|
||||||
fprintf(stderr, "OPTIONS := ... try tc class add <desired QDISC_KIND> help\n");
|
fprintf(stderr, "OPTIONS := ... try tc class add <desired QDISC_KIND> help\n");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int tc_class_modify(int cmd, unsigned int flags, int argc, char **argv)
|
static int tc_class_modify(int cmd, unsigned int flags, int argc, char **argv)
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@ static void stab_help(void)
|
||||||
" linklayer : adapting to a linklayer e.g. atm\n"
|
" linklayer : adapting to a linklayer e.g. atm\n"
|
||||||
"Example: ... stab overhead 20 linklayer atm\n");
|
"Example: ... stab overhead 20 linklayer atm\n");
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int check_size_table_opts(struct tc_sizespec *s)
|
int check_size_table_opts(struct tc_sizespec *s)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue