mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
ZFS: Remove a redundant if condition (#12598)
Commit 0c03d21ac9
left in a redundant if condition while
removing some code. Just remove it.
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Attila Fülöp <attila@fueloep.org>
Closes #12598
This commit is contained in:
parent
ed3a3bdb0d
commit
60b618a967
@ -968,9 +968,7 @@ dmu_free_long_object(objset_t *os, uint64_t object)
|
||||
dmu_tx_mark_netfree(tx);
|
||||
err = dmu_tx_assign(tx, TXG_WAIT);
|
||||
if (err == 0) {
|
||||
if (err == 0)
|
||||
err = dmu_object_free(os, object, tx);
|
||||
|
||||
err = dmu_object_free(os, object, tx);
|
||||
dmu_tx_commit(tx);
|
||||
} else {
|
||||
dmu_tx_abort(tx);
|
||||
|
Loading…
Reference in New Issue
Block a user