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:
Mateusz Kulikowski 2015-10-19 22:00:24 +02:00 committed by Greg Kroah-Hartman
parent 6167a6c88c
commit 58533b2217
1 changed files with 1 additions and 3 deletions

View File

@ -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);
} }
} }