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

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
...@@ -1385,9 +1385,8 @@ static __le16 ks_wlan_cap(struct ks_wlan_private *priv) ...@@ -1385,9 +1385,8 @@ static __le16 ks_wlan_cap(struct ks_wlan_private *priv)
{ {
u16 capability = 0x0000; u16 capability = 0x0000;
if (priv->reg.preamble == SHORT_PREAMBLE) { if (priv->reg.preamble == SHORT_PREAMBLE)
capability |= WLAN_CAPABILITY_SHORT_PREAMBLE; capability |= WLAN_CAPABILITY_SHORT_PREAMBLE;
}
capability &= ~(WLAN_CAPABILITY_PBCC); /* pbcc not support */ capability &= ~(WLAN_CAPABILITY_PBCC); /* pbcc not support */
......
Markdown is supported
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