mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
module: zfs: 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:
@@ -751,9 +751,9 @@ static int
|
||||
dmu_objset_own_impl(dsl_dataset_t *ds, dmu_objset_type_t type,
|
||||
boolean_t readonly, boolean_t decrypt, void *tag, objset_t **osp)
|
||||
{
|
||||
int err;
|
||||
(void) tag;
|
||||
|
||||
err = dmu_objset_from_ds(ds, osp);
|
||||
int err = dmu_objset_from_ds(ds, osp);
|
||||
if (err != 0) {
|
||||
return (err);
|
||||
} else if (type != DMU_OST_ANY && type != (*osp)->os_phys->os_type) {
|
||||
@@ -1157,7 +1157,6 @@ typedef struct dmu_objset_create_arg {
|
||||
dsl_crypto_params_t *doca_dcp;
|
||||
} dmu_objset_create_arg_t;
|
||||
|
||||
/*ARGSUSED*/
|
||||
static int
|
||||
dmu_objset_create_check(void *arg, dmu_tx_t *tx)
|
||||
{
|
||||
@@ -1353,7 +1352,6 @@ typedef struct dmu_objset_clone_arg {
|
||||
proc_t *doca_proc;
|
||||
} dmu_objset_clone_arg_t;
|
||||
|
||||
/*ARGSUSED*/
|
||||
static int
|
||||
dmu_objset_clone_check(void *arg, dmu_tx_t *tx)
|
||||
{
|
||||
@@ -1565,10 +1563,10 @@ dmu_objset_sync_dnodes(multilist_sublist_t *list, dmu_tx_t *tx)
|
||||
}
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
static void
|
||||
dmu_objset_write_ready(zio_t *zio, arc_buf_t *abuf, void *arg)
|
||||
{
|
||||
(void) abuf;
|
||||
blkptr_t *bp = zio->io_bp;
|
||||
objset_t *os = arg;
|
||||
dnode_phys_t *dnp = &os->os_phys->os_meta_dnode;
|
||||
@@ -1596,10 +1594,10 @@ dmu_objset_write_ready(zio_t *zio, arc_buf_t *abuf, void *arg)
|
||||
rrw_exit(&os->os_dsl_dataset->ds_bp_rwlock, FTAG);
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
static void
|
||||
dmu_objset_write_done(zio_t *zio, arc_buf_t *abuf, void *arg)
|
||||
{
|
||||
(void) abuf;
|
||||
blkptr_t *bp = zio->io_bp;
|
||||
blkptr_t *bp_orig = &zio->io_bp_orig;
|
||||
objset_t *os = arg;
|
||||
|
||||
Reference in New Issue
Block a user