mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
module: icp: 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:
@@ -47,6 +47,7 @@ struct mod_ops mod_cryptoops = {
|
||||
static int
|
||||
mod_null(struct modlmisc *modl, struct modlinkage *modlp)
|
||||
{
|
||||
(void) modl, (void) modlp;
|
||||
return (0);
|
||||
}
|
||||
|
||||
@@ -56,6 +57,7 @@ mod_null(struct modlmisc *modl, struct modlinkage *modlp)
|
||||
static int
|
||||
mod_infonull(void *modl, struct modlinkage *modlp, int *p0)
|
||||
{
|
||||
(void) modl, (void) modlp;
|
||||
*p0 = -1; /* for modinfo display */
|
||||
return (0);
|
||||
}
|
||||
|
||||
@@ -172,16 +172,16 @@ kmutex_t mh_head_lock;
|
||||
* mod_hash_null_valdtor()
|
||||
* no-op key and value destructors.
|
||||
*/
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
mod_hash_null_keydtor(mod_hash_key_t key)
|
||||
{
|
||||
(void) key;
|
||||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
mod_hash_null_valdtor(mod_hash_val_t val)
|
||||
{
|
||||
(void) val;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -198,10 +198,10 @@ mod_hash_null_valdtor(mod_hash_val_t val)
|
||||
* "Compilers: Principles, Tools & Techniques", by Aho, Sethi, Ullman
|
||||
*/
|
||||
|
||||
/*ARGSUSED*/
|
||||
uint_t
|
||||
mod_hash_bystr(void *hash_data, mod_hash_key_t key)
|
||||
{
|
||||
(void) hash_data;
|
||||
uint_t hash = 0;
|
||||
uint_t g;
|
||||
char *p, *k = (char *)key;
|
||||
@@ -672,10 +672,10 @@ mod_hash_reserve_nosleep(mod_hash_t *hash, mod_hash_hndl_t *handlep)
|
||||
|
||||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
mod_hash_cancel(mod_hash_t *hash, mod_hash_hndl_t *handlep)
|
||||
{
|
||||
(void) hash;
|
||||
kmem_cache_free(mh_e_cache, *handlep);
|
||||
*handlep = (mod_hash_hndl_t)0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user