staging: ks7010: Remove braces around single statement

Remove braces around single statement. Issue found with checkpatch.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Nishka Dasgupta 2018-03-14 18:29:30 +00:00 committed by Greg Kroah-Hartman
parent 1d49c89dc8
commit 8161481385

View File

@ -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 */