diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-29 19:34:07 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-29 19:34:07 -0400 |
commit | 327a6cb1ccbf2a2f46f37a339ad381b211a2fc8c (patch) | |
tree | 1ef555bafa36fe672caf234de21bdd7f22f19a2b /src | |
parent | 708171d9a153c0c1fe71cf8736b5439cbc9d14c3 (diff) |
kern: ns: Remove unused length field
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/include/os/nsvar.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sys/include/os/nsvar.h b/src/sys/include/os/nsvar.h index 96bc6b7..19030f5 100644 --- a/src/sys/include/os/nsvar.h +++ b/src/sys/include/os/nsvar.h @@ -37,7 +37,6 @@ * * @read: Read callack of this object * @data: Data this object references - * @len: Length of the underlying data * @refcount: Reference count to keep track * * XXX: 'data' is optional and can be NULL. if such is the case, @@ -46,7 +45,6 @@ struct ns_obj { ssize_t(*read)(struct ns_obj *nsop, void *buf, size_t len); void *data; - const size_t len; int refcount; }; |