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:
Родитель
6167a6c88c
Коммит
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче