mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 15:49:42 -04:00
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:
committed by
Greg Kroah-Hartman
parent
1d49c89dc8
commit
8161481385
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user