usbconfig: Remove useless return at the end of void function

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/656
This commit is contained in:
Elyes Haouas 2023-03-02 07:59:07 -07:00 committed by Warner Losh
parent 0fd15eb335
commit 0715ec7eb4
2 changed files with 0 additions and 12 deletions

View File

@ -264,7 +264,6 @@ dump_extra(struct libusb20_me_struct *str, const char *plevel)
} }
printf("\n"); printf("\n");
} }
return;
} }
static void static void
@ -276,7 +275,6 @@ dump_endpoint(struct libusb20_device *pdev,
edesc = &ep->desc; edesc = &ep->desc;
LIBUSB20_ENDPOINT_DESC(DUMP3, edesc); LIBUSB20_ENDPOINT_DESC(DUMP3, edesc);
dump_extra(&ep->extra, " " " " " "); dump_extra(&ep->extra, " " " " " ");
return;
} }
static void static void
@ -294,7 +292,6 @@ dump_iface(struct libusb20_device *pdev,
printf("\n Endpoint %u\n", z); printf("\n Endpoint %u\n", z);
dump_endpoint(pdev, iface->endpoints + z); dump_endpoint(pdev, iface->endpoints + z);
} }
return;
} }
void void
@ -353,7 +350,6 @@ dump_be_quirk_names(struct libusb20_backend *pbe)
printf("%s\n", q.quirkname); printf("%s\n", q.quirkname);
} }
printf("\n"); printf("\n");
return;
} }
void void
@ -385,7 +381,6 @@ dump_be_dev_quirks(struct libusb20_backend *pbe)
} }
} }
printf("\n"); printf("\n");
return;
} }
void void
@ -395,7 +390,6 @@ dump_device_desc(struct libusb20_device *pdev)
ddesc = libusb20_dev_get_device_desc(pdev); ddesc = libusb20_dev_get_device_desc(pdev);
LIBUSB20_DEVICE_DESC(DUMP0, ddesc); LIBUSB20_DEVICE_DESC(DUMP0, ddesc);
return;
} }
void void
@ -444,7 +438,6 @@ dump_config(struct libusb20_device *pdev, uint8_t all_cfg)
printf("\n"); printf("\n");
free(pcfg); free(pcfg);
} }
return;
} }
void void

View File

@ -182,7 +182,6 @@ be_dev_remove_quirk(struct libusb20_backend *pbe,
if (error) { if (error) {
fprintf(stderr, "Removing quirk '%s' failed, continuing.\n", str); fprintf(stderr, "Removing quirk '%s' failed, continuing.\n", str);
} }
return;
} }
static void static void
@ -205,7 +204,6 @@ be_dev_add_quirk(struct libusb20_backend *pbe,
if (error) { if (error) {
fprintf(stderr, "Adding quirk '%s' failed, continuing.\n", str); fprintf(stderr, "Adding quirk '%s' failed, continuing.\n", str);
} }
return;
} }
static uint8_t static uint8_t
@ -312,7 +310,6 @@ reset_options(struct options *opt)
if (opt->buffer) if (opt->buffer)
free(opt->buffer); free(opt->buffer);
memset(opt, 0, sizeof(*opt)); memset(opt, 0, sizeof(*opt));
return;
} }
static void static void
@ -542,8 +539,6 @@ flush_command(struct libusb20_backend *pbe, struct options *opt)
} }
done: done:
reset_options(opt); reset_options(opt);
return;
} }
int int