aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-12-12 15:37:18 +0100
committerBrian Behlendorf <[email protected]>2021-12-23 09:42:47 -0800
commitbfc178970309984e996baa5f654c8681a203a4aa (patch)
treec4dae9d537e52b75ef503692ada18198690cae0d
parent7fe47a2386845ab4de05ee35b679a1fd30f765ea (diff)
libzfs_core: fix unused, remove argsused
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12844
-rw-r--r--lib/libzfs_core/libzfs_core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libzfs_core/libzfs_core.c b/lib/libzfs_core/libzfs_core.c
index c7c4482a0..99652bc4a 100644
--- a/lib/libzfs_core/libzfs_core.c
+++ b/lib/libzfs_core/libzfs_core.c
@@ -476,10 +476,10 @@ lzc_exists(const char *dataset)
* It was added to preserve the function signature in case it is
* needed in the future.
*/
-/*ARGSUSED*/
int
lzc_sync(const char *pool_name, nvlist_t *innvl, nvlist_t **outnvl)
{
+ (void) outnvl;
return (lzc_ioctl(ZFS_IOC_POOL_SYNC, pool_name, innvl, NULL));
}
@@ -1032,6 +1032,7 @@ lzc_receive_one(const char *snapname, nvlist_t *props,
uint64_t *read_bytes, uint64_t *errflags, uint64_t *action_handle,
nvlist_t **errors)
{
+ (void) action_handle, (void) cleanup_fd;
return (recv_impl(snapname, props, NULL, NULL, 0, origin, force,
resumable, raw, input_fd, begin_record,
read_bytes, errflags, errors));
@@ -1053,6 +1054,7 @@ lzc_receive_with_cmdprops(const char *snapname, nvlist_t *props,
uint64_t *read_bytes, uint64_t *errflags, uint64_t *action_handle,
nvlist_t **errors)
{
+ (void) action_handle, (void) cleanup_fd;
return (recv_impl(snapname, props, cmdprops, wkeydata, wkeylen, origin,
force, resumable, raw, input_fd, begin_record,
read_bytes, errflags, errors));