aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zcp.c
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-12-12 16:06:44 +0100
committerBrian Behlendorf <[email protected]>2021-12-23 09:42:47 -0800
commit14e4e3cb9f5f232c92b579a12f4cb0a427ed54bf (patch)
treeabe4c4a23c198ba8a84a7cec96dd1dc7370101ee /module/zfs/zcp.c
parent868998220e64d3249744e7df141d07c6506548eb (diff)
module: zfs: fix unused, remove argsused
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12844
Diffstat (limited to 'module/zfs/zcp.c')
-rw-r--r--module/zfs/zcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/zcp.c b/module/zfs/zcp.c
index f724b44ba..f200b928b 100644
--- a/module/zfs/zcp.c
+++ b/module/zfs/zcp.c
@@ -769,10 +769,10 @@ zcp_lua_alloc(void *ud, void *ptr, size_t osize, size_t nsize)
}
}
-/* ARGSUSED */
static void
zcp_lua_counthook(lua_State *state, lua_Debug *ar)
{
+ (void) ar;
lua_getfield(state, LUA_REGISTRYINDEX, ZCP_RUN_INFO_KEY);
zcp_run_info_t *ri = lua_touserdata(state, -1);
@@ -974,10 +974,10 @@ zcp_pool_error(zcp_run_info_t *ri, const char *poolname)
* The txg_wait_synced_sig will continue to wait for the txg to complete
* after calling this callback.
*/
-/* ARGSUSED */
static void
zcp_eval_sig(void *arg, dmu_tx_t *tx)
{
+ (void) tx;
zcp_run_info_t *ri = arg;
ri->zri_canceled = B_TRUE;