diff options
author | MigeljanImeri <78048439+MigeljanImeri@users.noreply.github.com> | 2024-01-26 22:46:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 22:46:42 +0000 |
commit | 78e8c1f844cb512607f25af44149c41ba7819abc (patch) | |
tree | 1ac2f4b3f3f6ffdcc546cef6daa5655f2629cb7e /include/os/freebsd/spl | |
parent | 884a48d991e76ee217fba91ed2da662250cc6062 (diff) | |
download | src-78e8c1f844cb512607f25af44149c41ba7819abc.tar.gz src-78e8c1f844cb512607f25af44149c41ba7819abc.zip |
Remove list_size struct member from list implementation
Removed the list_size struct member as it was only used in a single
assertion, as mentioned in PR #15478.
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: MigeljanImeri <imerimigel@gmail.com>
Closes #15812
Diffstat (limited to 'include/os/freebsd/spl')
-rw-r--r-- | include/os/freebsd/spl/sys/list_impl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/os/freebsd/spl/sys/list_impl.h b/include/os/freebsd/spl/sys/list_impl.h index 09b70232e8ee..06a5c6d1dbc6 100644 --- a/include/os/freebsd/spl/sys/list_impl.h +++ b/include/os/freebsd/spl/sys/list_impl.h @@ -39,7 +39,6 @@ struct list_node { }; struct list { - size_t list_size; size_t list_offset; struct list_node list_head; }; |