mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-31 22:15:38 +00:00
staging: rtl8192e: init_fw: Drop unneded check
rst_opt is always equal to OPT_SYSTEM_RESET in this scope. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6167a6c88c
commit
58533b2217
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user