1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-26 14:03:49 +03:00

event-test: Remove unnecessary 'usage' function

This commit is contained in:
Peter Krempa 2016-04-13 15:21:17 +02:00
parent e1389f3983
commit 6e71d1e824

View File

@ -579,12 +579,6 @@ static void myFreeFunc(void *opaque)
/* main test functions */ /* main test functions */
void usage(const char *pname)
{
printf("%s uri\n", pname);
}
static void stop(int sig) static void stop(int sig)
{ {
printf("Exiting on signal %d\n", sig); printf("Exiting on signal %d\n", sig);
@ -622,7 +616,7 @@ int main(int argc, char **argv)
action_stop.sa_handler = stop; action_stop.sa_handler = stop;
if (argc > 1 && STREQ(argv[1], "--help")) { if (argc > 1 && STREQ(argv[1], "--help")) {
usage(argv[0]); printf("%s uri\n", argv[0]);
goto cleanup; goto cleanup;
} }