mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
module: mark arguments used
Reviewed-by: Alejandro Colomar <alx.manpages@gmail.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13110
This commit is contained in:
@@ -338,10 +338,10 @@ callb_generic_cpr(void *arg, int code)
|
||||
* The generic callback function associated with kernel threads which
|
||||
* are always considered safe.
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
boolean_t
|
||||
callb_generic_cpr_safe(void *arg, int code)
|
||||
{
|
||||
(void) arg, (void) code;
|
||||
return (B_TRUE);
|
||||
}
|
||||
/*
|
||||
|
||||
@@ -40,19 +40,17 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/kobj.h>
|
||||
|
||||
|
||||
/*ARGSUSED*/
|
||||
static void *
|
||||
zcalloc(void *opaque, uint_t items, uint_t size)
|
||||
{
|
||||
|
||||
(void) opaque;
|
||||
return (malloc((size_t)items*size, M_SOLARIS, M_NOWAIT));
|
||||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
static void
|
||||
zcfree(void *opaque, void *ptr)
|
||||
{
|
||||
|
||||
(void) opaque;
|
||||
free(ptr, M_SOLARIS);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user