staging: vt6656: clean up BBvSetAntennaMode.
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 19 May 2014 19:33:03 +0000 (20:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 May 2014 22:23:22 +0000 (15:23 -0700)
white space clean up.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/baseband.c

index 0bdc81495760d3895ffceb038dbc121fca81bedd..5e2ffab42e5630318a5bfaa373d36d3538f9a498 100644 (file)
@@ -869,25 +869,21 @@ void BBvCalculateParameter(struct vnt_private *priv, u32 frame_length,
  */
 void BBvSetAntennaMode(struct vnt_private *pDevice, u8 byAntennaMode)
 {
-    switch (byAntennaMode) {
-        case ANT_TXA:
-        case ANT_TXB:
-            break;
-        case ANT_RXA:
-            pDevice->byBBRxConf &= 0xFC;
-            break;
-        case ANT_RXB:
-            pDevice->byBBRxConf &= 0xFE;
-            pDevice->byBBRxConf |= 0x02;
-            break;
-    }
+       switch (byAntennaMode) {
+       case ANT_TXA:
+       case ANT_TXB:
+               break;
+       case ANT_RXA:
+               pDevice->byBBRxConf &= 0xFC;
+               break;
+       case ANT_RXB:
+               pDevice->byBBRxConf &= 0xFE;
+               pDevice->byBBRxConf |= 0x02;
+               break;
+       }
 
-    CONTROLnsRequestOut(pDevice,
-                    MESSAGE_TYPE_SET_ANTMD,
-                    (u16) byAntennaMode,
-                    0,
-                    0,
-                    NULL);
+       CONTROLnsRequestOut(pDevice, MESSAGE_TYPE_SET_ANTMD,
+               (u16)byAntennaMode, 0, 0, NULL);
 }
 
 /*