mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
event-test: Remove unnecessary 'usage' function
This commit is contained in:
parent
e1389f3983
commit
6e71d1e824
@ -579,12 +579,6 @@ static void myFreeFunc(void *opaque)
|
||||
|
||||
/* main test functions */
|
||||
|
||||
void usage(const char *pname)
|
||||
{
|
||||
printf("%s uri\n", pname);
|
||||
}
|
||||
|
||||
|
||||
static void stop(int sig)
|
||||
{
|
||||
printf("Exiting on signal %d\n", sig);
|
||||
@ -622,7 +616,7 @@ int main(int argc, char **argv)
|
||||
action_stop.sa_handler = stop;
|
||||
|
||||
if (argc > 1 && STREQ(argv[1], "--help")) {
|
||||
usage(argv[0]);
|
||||
printf("%s uri\n", argv[0]);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user