Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58533b22 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192e: init_fw: Drop unneded check



rst_opt is always equal to OPT_SYSTEM_RESET in this scope.

Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6167a6c8
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -271,8 +271,6 @@ 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);
			}
		}