Commit 81614813 authored by Nishka Dasgupta's avatar Nishka Dasgupta Committed by Greg Kroah-Hartman
Browse files

staging: ks7010: Remove braces around single statement



Remove braces around single statement. Issue found with checkpatch.

Signed-off-by: default avatarNishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1d49c89d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1385,9 +1385,8 @@ static __le16 ks_wlan_cap(struct ks_wlan_private *priv)
{
	u16 capability = 0x0000;

	if (priv->reg.preamble == SHORT_PREAMBLE) {
	if (priv->reg.preamble == SHORT_PREAMBLE)
		capability |= WLAN_CAPABILITY_SHORT_PREAMBLE;
	}

	capability &= ~(WLAN_CAPABILITY_PBCC);	/* pbcc not support */