module: zfs: fix unused, remove argsused

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12844
This commit is contained in:
наб
2021-12-12 16:06:44 +01:00
committed by Tony Hutter
parent ccbe9efd6b
commit 94a4b7ec3d
55 changed files with 226 additions and 175 deletions
+1 -1
View File
@@ -298,10 +298,10 @@ vdev_file_io_start(zio_t *zio)
TQ_SLEEP), !=, TASKQID_INVALID);
}
/* ARGSUSED */
static void
vdev_file_io_done(zio_t *zio)
{
(void) zio;
}
vdev_ops_t vdev_file_ops = {
+2
View File
@@ -28,9 +28,11 @@
void
zfs_racct_read(uint64_t size, uint64_t iops)
{
(void) size, (void) iops;
}
void
zfs_racct_write(uint64_t size, uint64_t iops)
{
(void) size, (void) iops;
}
+1
View File
@@ -1776,6 +1776,7 @@ zio_crypt_init_uios_normal(boolean_t encrypt, uint8_t *plainbuf,
uint8_t *cipherbuf, uint_t datalen, zfs_uio_t *puio, zfs_uio_t *cuio,
uint_t *enc_len)
{
(void) encrypt;
int ret;
uint_t nr_plain = 1, nr_cipher = 2;
iovec_t *plain_iovecs = NULL, *cipher_iovecs = NULL;