Commit 58533b22 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: init_fw: Drop unneded check

rst_opt is always equal to OPT_SYSTEM_RESET in this scope.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6167a6c8
......@@ -271,9 +271,7 @@ bool rtl92e_init_fw(struct net_device *dev)
pfirmware->blobs[i].size =
fw_entry->size + 128;
}
if (rst_opt == OPT_SYSTEM_RESET)
release_firmware(fw_entry);
release_firmware(fw_entry);
}
}
......
Markdown is supported
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