zpool: vdev_os: fix unused, remove argsused

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12835
This commit is contained in:
наб 2021-12-11 01:06:29 +01:00 committed by Brian Behlendorf
parent e40ca391f8
commit ab860757f5
2 changed files with 3 additions and 0 deletions

View File

@ -86,6 +86,7 @@ int
check_device(const char *name, boolean_t force, boolean_t isspare,
boolean_t iswholedisk)
{
(void) iswholedisk;
char path[MAXPATHLEN];
if (strncmp(name, _PATH_DEV, sizeof (_PATH_DEV) - 1) != 0)
@ -99,6 +100,7 @@ check_device(const char *name, boolean_t force, boolean_t isspare,
boolean_t
check_sector_size_database(char *path, int *sector_size)
{
(void) path, (void) sector_size;
return (0);
}

View File

@ -409,6 +409,7 @@ check_device(const char *path, boolean_t force,
void
after_zpool_upgrade(zpool_handle_t *zhp)
{
(void) zhp;
}
int