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

Commit 04975f3f authored by Greg Dietsche's avatar Greg Dietsche Committed by John W. Linville
Browse files

iwlegacy: remove unecessary if statement



the code always returns ret regardless, so if(ret) check is unecessary.
Signed-off-by: default avatarGreg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e5a042ea
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1185,8 +1185,6 @@ static int iwl4965_send_rxon_assoc(struct iwl_priv *priv,

	ret = iwl_legacy_send_cmd_pdu_async(priv, REPLY_RXON_ASSOC,
				     sizeof(rxon_assoc), &rxon_assoc, NULL);
	if (ret)
		return ret;

	return ret;
}