Commit ec235e16 authored by Konstantin Belousov's avatar Konstantin Belousov
Browse files

subr_firmware.c::unloadentry(): remove write-only variable

(cherry picked from commit 6776747a)
parent cf049c29
......@@ -412,7 +412,6 @@ static void
unloadentry(void *unused1, int unused2)
{
struct priv_fw *fp;
int err;
mtx_lock(&firmware_mtx);
restart:
......@@ -434,7 +433,7 @@ unloadentry(void *unused1, int unused2)
* on unload to actually free the entry.
*/
mtx_unlock(&firmware_mtx);
err = linker_release_module(NULL, NULL, fp->file);
(void)linker_release_module(NULL, NULL, fp->file);
mtx_lock(&firmware_mtx);
/*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment