diff options
author | Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in> | 2018-03-14 18:29:30 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-19 17:14:40 +0100 |
commit | 816148138518da9362a3b0c46f3cdf3d97282008 (patch) | |
tree | b7edcd1257df5050969daf77187b69d7a23fa670 /drivers/staging/ks7010 | |
parent | 1d49c89dc80e16b3313e60e3fadc3ebc3cde7cba (diff) |
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>
Diffstat (limited to 'drivers/staging/ks7010')
-rw-r--r-- | drivers/staging/ks7010/ks_hostif.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index 05f7be4638fe..c05102d75ea1 100644 --- a/drivers/staging/ks7010/ks_hostif.c +++ b/drivers/staging/ks7010/ks_hostif.c @@ -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 */ |