Skip to content

Commit

Permalink
module: zfs: freebsd: spa_os: fix unused, remove argsused
Browse files Browse the repository at this point in the history
  • Loading branch information
nabijaczleweli committed Dec 22, 2021
1 parent 6c5eda2 commit bbe819a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions module/os/freebsd/zfs/spa_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ spa_import_rootpool(const char *name, bool checkpointrewind)
spa_t *spa;
vdev_t *rvd;
nvlist_t *config, *nvtop;
uint64_t txg;
char *pname;
int error;

Expand All @@ -196,7 +195,6 @@ spa_import_rootpool(const char *name, bool checkpointrewind)
if (config != NULL) {
pname = fnvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME);
VERIFY0(strcmp(name, pname));
txg = fnvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_TXG);

if ((spa = spa_lookup(pname)) != NULL) {
/*
Expand Down

0 comments on commit bbe819a

Please sign in to comment.