diff options
author | Warner Losh <imp@FreeBSD.org> | 2022-04-04 23:59:13 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2022-04-05 04:29:21 +0000 |
commit | 87a4328651b4e5f9114a7485cf67a3a300f668f3 (patch) | |
tree | 9755f4a88ced7318c51938ea2b11d5764ae52d90 | |
parent | 5466363900d28e473fa9d240ba15f2d5888fd045 (diff) | |
download | src-87a4328651b4e5f9114a7485cf67a3a300f668f3.tar.gz src-87a4328651b4e5f9114a7485cf67a3a300f668f3.zip |
bhnd_nvram_store_export_child: eliminate num_props write only variable
Sponsored by: Netflix
-rw-r--r-- | sys/dev/bhnd/nvram/bhnd_nvram_store.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/bhnd/nvram/bhnd_nvram_store.c b/sys/dev/bhnd/nvram/bhnd_nvram_store.c index 3a8b7204e254..5b165b0d3fb2 100644 --- a/sys/dev/bhnd/nvram/bhnd_nvram_store.c +++ b/sys/dev/bhnd/nvram/bhnd_nvram_store.c @@ -625,14 +625,13 @@ bhnd_nvram_store_export_child(struct bhnd_nvram_store *sc, const char *relpath; char *prefix, *namebuf; size_t prefix_len, relpath_len; - size_t namebuf_size, num_props; + size_t namebuf_size; bool emit_compact_devpath; int error; BHND_NVSTORE_LOCK_ASSERT(sc, MA_OWNED); prefix = NULL; - num_props = 0; path_vars = NULL; namebuf = NULL; |