Dropped lfs_t argument from lfsr_data_from* functions

Turns out access to lfs_t just isn't required, and perhaps for the same
reason these functions can never error.
This commit is contained in:
Christopher Haster
2023-09-22 01:03:58 -05:00
parent 9b3f34eaa6
commit 93ee9d49cf
2 changed files with 35 additions and 50 deletions
+1 -2
View File
@@ -4246,8 +4246,7 @@ code = '''
uint8_t buf[LFSR_MDIR_DSIZE];
lfsr_mdir_commit(&lfs, &lfs.mroot, LFSR_ATTRS(
LFSR_ATTR(-1,
MROOT, 0, FROMMBLOCKS(&lfs, LFSR_MBLOCKS_MROOTANCHOR(),
buf)))) => 0;
MROOT, 0, FROMMBLOCKS(LFSR_MBLOCKS_MROOTANCHOR(), buf)))) => 0;
// technically, cycle detection only needs to work when we're validating
lfsr_mtree_traversal_t traversal = LFSR_MTREE_TRAVERSAL(