aboutsummaryrefslogtreecommitdiff
path: root/module/os/freebsd/spl/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/os/freebsd/spl/list.c')
-rw-r--r--module/os/freebsd/spl/list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/os/freebsd/spl/list.c b/module/os/freebsd/spl/list.c
index 62374a417704..56432050fdc6 100644
--- a/module/os/freebsd/spl/list.c
+++ b/module/os/freebsd/spl/list.c
@@ -6,7 +6,7 @@
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
+ * or https://opensource.org/licenses/CDDL-1.0.
* See the License for the specific language governing permissions
* and limitations under the License.
*
@@ -64,7 +64,8 @@ list_create(list_t *list, size_t size, size_t offset)
ASSERT3P(list, !=, NULL);
ASSERT3U(size, >=, offset + sizeof (list_node_t));
- list->list_size = size;
+ (void) size;
+
list->list_offset = offset;
list->list_head.list_next = list->list_head.list_prev =
&list->list_head;
@@ -194,7 +195,6 @@ list_move_tail(list_t *dst, list_t *src)
list_node_t *dstnode = &dst->list_head;
list_node_t *srcnode = &src->list_head;
- ASSERT3U(dst->list_size, ==, src->list_size);
ASSERT3U(dst->list_offset, ==, src->list_offset);
if (list_empty(src))