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

Commit 6704ddbb authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman
Browse files

staging: ks7010: group some cases in switch-case block in hostif_mib_set_confirm



This commit groups some case statements because its behaviour is
just do nothing which is the same as the default. Clean 'break'
keyword in those which are affected.

Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d6a72502
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -645,8 +645,6 @@ void hostif_mib_set_confirm(struct ks_wlan_private *priv)
	case DOT11_RSN_CONFIG_AUTH_SUITE:
		hostif_sme_enqueue(priv, SME_RSN_AUTH_CONFIRM);
		break;
	case DOT11_PMK_TSC:
		break;
	case DOT11_GMK1_TSC:
		if (atomic_read(&priv->psstatus.snooze_guard))
			atomic_set(&priv->psstatus.snooze_guard, 0);
@@ -655,15 +653,12 @@ void hostif_mib_set_confirm(struct ks_wlan_private *priv)
		if (atomic_read(&priv->psstatus.snooze_guard))
			atomic_set(&priv->psstatus.snooze_guard, 0);
		break;
	case DOT11_PMK_TSC:
	case LOCAL_PMK:
		break;
	case LOCAL_GAIN:
		break;
#ifdef WPS
	case LOCAL_WPS_ENABLE:
		break;
	case LOCAL_WPS_PROBE_REQ:
		break;
#endif /* WPS */
	case LOCAL_REGION:
	default: