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 =
|
pfirmware->blobs[i].size =
|
||||||
fw_entry->size + 128;
|
fw_entry->size + 128;
|
||||||
}
|
}
|
||||||
|
release_firmware(fw_entry);
|
||||||
if (rst_opt == OPT_SYSTEM_RESET)
|
|
||||||
release_firmware(fw_entry);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue