util/nvmutil: don't make op a typedef

it's not required

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-03 16:25:54 +00:00
parent 49c2940421
commit 3983dc44f4
+3 -3
View File
@@ -74,12 +74,12 @@ static const char *mac = NULL;
static const char *rmac = "xx:xx:xx:xx:xx:xx";
static const char *fname = "";
typedef struct op {
struct op {
const char *str;
void (*cmd)(void);
int args;
} op;
static const op ops[] = {
};
static const struct op ops[] = {
{ "dump", cmd_dump, 3 },
{ "setmac", cmd_setmac, 3 },
{ "swap", cmd_swap, 3 },