staging: vt6556: Remove double parentheses
authorPeter Senna Tschudin <peter.senna@gmail.com>
Mon, 14 Jul 2014 19:15:29 +0000 (21:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 15:05:16 +0000 (08:05 -0700)
This patch cleanup a checkpatch warning by removing double parentheses
from if condition. Additionally it fixes a line over 80 chars.

Tested by compilation only.

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/baseband.c

index c1675d54da9bbf24dc3d98ae95b9afdbe8ea1ac2..97e10e077c11983f2bcb090ebc3deba0731a8850 100644 (file)
@@ -450,8 +450,9 @@ int BBbVT3184Init(struct vnt_private *priv)
                priv->ldBmThreshold[2] = 0;
                priv->ldBmThreshold[3] = 0;
                /* Fix VT3226 DFC system timing issue */
-               vnt_mac_reg_bits_on(priv, MAC_REG_SOFTPWRCTL2, SOFTPWRCTL_RFLEOPT);
-       } else if ((priv->byRFType == RF_VT3342A0)) {
+               vnt_mac_reg_bits_on(priv, MAC_REG_SOFTPWRCTL2,
+                                   SOFTPWRCTL_RFLEOPT);
+       } else if (priv->byRFType == RF_VT3342A0) {
                priv->byBBRxConf = vnt_vt3184_vt3226d0[10];
                length = sizeof(vnt_vt3184_vt3226d0);
                addr = vnt_vt3184_vt3226d0;