Commit ab0fbdc2 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192u: cleanup a switch statement



The white space was all wrong here.  The case statements were indented
too far.  The if else blocks weren't indented at all.  There was a break
statement aligned with the else block and it confused my static checker
because "were curly braces intended" so that the break statement was
only on the else side?  Also I removed some commented out code.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bc802a27
Loading
Loading
Loading
Loading
+8 −11
Original line number Diff line number Diff line
@@ -1903,8 +1903,7 @@ static void ieee80211_process_action(struct ieee80211_device *ieee,
	}
	tmp = *act;
	act ++;
	switch (tmp)
	{
	switch (tmp) {
	case ACT_CAT_BA:
		if (*act == ACT_ADDBAREQ)
			ieee80211_rx_ADDBAReq(ieee, skb);
@@ -1914,8 +1913,6 @@ static void ieee80211_process_action(struct ieee80211_device *ieee,
			ieee80211_rx_DELBA(ieee, skb);
		break;
	default:
//			if (net_ratelimit())
//			IEEE80211_DEBUG(IEEE80211_DL_BA, "unknown action frame(%d)\n", tmp);
		break;
	}
	return;