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 коммит произвёл Greg Kroah-Hartman
Родитель 1d49c89dc8
Коммит 8161481385
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

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