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

Commit fe6dc85e authored by Mahati Chamarthy's avatar Mahati Chamarthy Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8192ee: Fix else is not useful warning



This fixes the following checkpatch.pl warnings:
WARNING: else is not generally useful after a break or return

Signed-off-by: default avatarMahati Chamarthy <mahati.chamarthy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f41788b7
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -136,9 +136,8 @@ u8 stg_efuse_read_1byte(struct ieee80211_hw *hw, u16 address)
		}
		data = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]);
		return data;
	} else {
		return 0xFF;
	}
	return 0xFF;
}
EXPORT_SYMBOL(stg_efuse_read_1byte);

@@ -751,7 +750,6 @@ static int efuse_pg_packet_read(struct ieee80211_hw *hw, u8 offset, u8 *data)
	    (data[4] == 0xff) && (data[5] == 0xff) &&
	    (data[6] == 0xff) && (data[7] == 0xff))
		return false;
	else
	return true;
}