From: Mateusz Kulikowski Date: Mon, 19 Oct 2015 20:00:24 +0000 (+0200) Subject: staging: rtl8192e: init_fw: Drop unneded check X-Git-Tag: firefly_0821_release~176^2~802^2~288 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=58533b221730c0ccbcd7d7694b2111679f11d99d;p=firefly-linux-kernel-4.4.55.git staging: rtl8192e: init_fw: Drop unneded check rst_opt is always equal to OPT_SYSTEM_RESET in this scope. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 528b68ac0207..42eabce56236 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c @@ -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); } }