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
This commit is contained in:
MigeljanImeri
2024-01-26 15:46:42 -07:00
committed by GitHub
parent 884a48d991
commit 78e8c1f844
5 changed files with 6 additions and 8 deletions
-1
View File
@@ -39,7 +39,6 @@ struct list_node {
};
struct list {
size_t list_size;
size_t list_offset;
struct list_node list_head;
};