From: Nishka Dasgupta Date: Wed, 14 Mar 2018 18:29:30 +0000 (+0000) Subject: staging: ks7010: Remove braces around single statement X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=816148138518da9362a3b0c46f3cdf3d97282008;p=openwrt%2Fstaging%2Fblogic.git staging: ks7010: Remove braces around single statement Remove braces around single statement. Issue found with checkpatch. Signed-off-by: Nishka Dasgupta Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- 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 */