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:
parent
e40ca391f8
commit
ab860757f5
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -409,6 +409,7 @@ check_device(const char *path, boolean_t force,
|
|||
void
|
||||
after_zpool_upgrade(zpool_handle_t *zhp)
|
||||
{
|
||||
(void) zhp;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue