Commit 4fb25c59 authored by Jesper Juhl's avatar Jesper Juhl Committed by John W. Linville
Browse files

wireless, mwifiex: drop redundant NULL test before call to release_firmware()

Since release_firmware() does its own test for NULL it is redundant to
do so before calling it.

Signed-off-by: default avatarJesper Juhl <>
Acked-by: default avatarBing Zhao <>
Signed-off-by: default avatarJohn W. Linville <>
parent a7b957a2
......@@ -342,8 +342,7 @@ static int mwifiex_init_hw_fw(struct mwifiex_adapter *adapter)
ret = 0;
if (adapter->firmware)
if (ret)
ret = -1;
return ret;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment