mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
libnvpair: 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:
@@ -253,11 +253,11 @@ NVLIST_ARRPRTFUNC(int64_array, int64_t, longlong_t, "%lld")
|
||||
NVLIST_ARRPRTFUNC(uint64_array, uint64_t, u_longlong_t, "0x%llx")
|
||||
NVLIST_ARRPRTFUNC(string_array, char *, char *, "%s")
|
||||
|
||||
/*ARGSUSED*/
|
||||
static int
|
||||
nvprint_nvlist(nvlist_prtctl_t pctl, void *private,
|
||||
nvlist_t *nvl, const char *name, nvlist_t *value)
|
||||
{
|
||||
(void) private, (void) nvl;
|
||||
FILE *fp = pctl->nvprt_fp;
|
||||
|
||||
indent(pctl, 1);
|
||||
@@ -273,11 +273,11 @@ nvprint_nvlist(nvlist_prtctl_t pctl, void *private,
|
||||
return (1);
|
||||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
static int
|
||||
nvaprint_nvlist_array(nvlist_prtctl_t pctl, void *private,
|
||||
nvlist_t *nvl, const char *name, nvlist_t **valuep, uint_t count)
|
||||
{
|
||||
(void) private, (void) nvl;
|
||||
FILE *fp = pctl->nvprt_fp;
|
||||
uint_t i;
|
||||
|
||||
|
||||
@@ -36,10 +36,10 @@ nv_alloc_sys(nv_alloc_t *nva, size_t size)
|
||||
return (kmem_alloc(size, (int)(uintptr_t)nva->nva_arg));
|
||||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
static void
|
||||
nv_free_sys(nv_alloc_t *nva, void *buf, size_t size)
|
||||
{
|
||||
(void) nva;
|
||||
kmem_free(buf, size);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user