mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-28 17:39:23 +03:00
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:
@@ -37,6 +37,8 @@ zfs_racct_read(uint64_t size, uint64_t iops)
|
||||
racct_add_force(curproc, RACCT_READIOPS, iops);
|
||||
PROC_UNLOCK(curproc);
|
||||
}
|
||||
#else
|
||||
(void) size;
|
||||
#endif /* RACCT */
|
||||
}
|
||||
|
||||
@@ -51,5 +53,7 @@ zfs_racct_write(uint64_t size, uint64_t iops)
|
||||
racct_add_force(curproc, RACCT_WRITEIOPS, iops);
|
||||
PROC_UNLOCK(curproc);
|
||||
}
|
||||
#else
|
||||
(void) size;
|
||||
#endif /* RACCT */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user