stand/userboot: Kill set but unused variables

We never use 'dev' after fetching it from the varargs list. Skip the
whole bother of fetching it, or setting up the meachinery to fetch it.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2021-12-15 19:48:40 -07:00
parent 85575132fe
commit 7a7a464c7e

View File

@ -135,12 +135,6 @@ host_dev_print(int verbose)
static int
host_dev_open(struct open_file *f, ...)
{
va_list args;
struct devdesc *dev;
va_start(args, f);
dev = va_arg(args, struct devdesc*);
va_end(args);
return (0);
}