The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=87a4328651b4e5f9114a7485cf67a3a300f668f3

commit 87a4328651b4e5f9114a7485cf67a3a300f668f3
Author:     Warner Losh <[email protected]>
AuthorDate: 2022-04-04 23:59:13 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2022-04-05 04:29:21 +0000

    bhnd_nvram_store_export_child: eliminate num_props write only variable
    
    Sponsored by:           Netflix
---
 sys/dev/bhnd/nvram/bhnd_nvram_store.c | 3 +--
 1 file changed, 1 insertion(+), 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;
 

Reply via email to