aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/baseband.c
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2013-03-26 18:18:30 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-28 16:06:27 -0700
commit9fbafdd9add10e349deeb1f38290943d5107e276 (patch)
tree54ad92d792967727d0ca7f37579a3ecf4c313d96 /drivers/staging/vt6656/baseband.c
parent1cedfa317eb15a82b4e44ed868f4e451238d5aea (diff)
staging: vt6656: remove consecutive newlines
Several sed -i '/^$/{ N /^\n$/ D }' drivers/staging/vt6656/*.[ch] Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/baseband.c')
-rw-r--r--drivers/staging/vt6656/baseband.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c
index e0c7b7ae152..33fa76759bf 100644
--- a/drivers/staging/vt6656/baseband.c
+++ b/drivers/staging/vt6656/baseband.c
@@ -48,14 +48,6 @@
static int msglevel =MSG_LEVEL_INFO;
//static int msglevel =MSG_LEVEL_DEBUG;
-
-
-
-
-
-
-
-
u8 abyVT3184_AGC[] = {
0x00, //0
0x00, //1
@@ -123,7 +115,6 @@ u8 abyVT3184_AGC[] = {
0x3E //3F
};
-
u8 abyVT3184_AL2230[] = {
0x31,//00
0x00,
@@ -383,8 +374,6 @@ u8 abyVT3184_AL2230[] = {
0x00
};
-
-
//{{RobertYu:20060515, new BB setting for VT3226D0
u8 abyVT3184_VT3226D0[] = {
0x31,//00
@@ -648,7 +637,6 @@ u8 abyVT3184_VT3226D0[] = {
const u16 awcFrameTime[MAX_RATE] =
{10, 20, 55, 110, 24, 36, 48, 72, 96, 144, 192, 216};
-
/*
static
unsigned long
@@ -691,7 +679,6 @@ BBuGetFrameTime(
unsigned int uRateIdx = (unsigned int)wRate;
unsigned int uRate = 0;
-
if (uRateIdx > RATE_54M) {
ASSERT(0);
return 0;
@@ -896,7 +883,6 @@ void BBvCalculateParameter(struct vnt_private *pDevice, u32 cbFrameLength,
}
}
-
/*
* Description: Set Antenna mode
*
@@ -925,7 +911,6 @@ void BBvSetAntennaMode(struct vnt_private *pDevice, u8 byAntennaMode)
break;
}
-
CONTROLnsRequestOut(pDevice,
MESSAGE_TYPE_SET_ANTMD,
(u16) byAntennaMode,
@@ -967,7 +952,6 @@ int BBbVT3184Init(struct vnt_private *pDevice)
return false;
}
-
// if ((pDevice->abyEEPROM[EEP_OFS_RADIOCTL]&0x06)==0x04)
// return false;
@@ -1106,7 +1090,6 @@ else {
abyArray
);
-
if ((pDevice->byRFType == RF_VT3226) || //RobertYu:20051116, 20060111 remove VT3226D0
(pDevice->byRFType == RF_VT3342A0) //RobertYu:20060609
) {
@@ -1119,7 +1102,6 @@ else {
MACvRegBitsOn(pDevice,MAC_REG_PAPEDELAY,0x01);
}
-
ControlvWriteByte(pDevice,MESSAGE_REQUEST_BBREG,0x04,0x7F);
ControlvWriteByte(pDevice,MESSAGE_REQUEST_BBREG,0x0D,0x01);
@@ -1155,7 +1137,6 @@ void BBvSetShortSlotTime(struct vnt_private *pDevice)
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0x0A, pDevice->byBBRxConf);
}
-
void BBvSetVGAGainOffset(struct vnt_private *pDevice, u8 byData)
{
@@ -1194,7 +1175,6 @@ void BBvExitDeepSleep(struct vnt_private *pDevice)
ControlvWriteByte(pDevice, MESSAGE_REQUEST_BBREG, 0x0D, 0x01);//CR13
}
-
static unsigned long s_ulGetLowSQ3(struct vnt_private *pDevice)
{
int ii;
@@ -1241,7 +1221,6 @@ static unsigned long s_ulGetRatio(struct vnt_private *pDevice)
return ulRatio;
}
-
static void s_vClearSQ3Value(struct vnt_private *pDevice)
{
int ii;
@@ -1253,7 +1232,6 @@ static void s_vClearSQ3Value(struct vnt_private *pDevice)
}
}
-
/*
* Description: Antenna Diversity
*
@@ -1385,7 +1363,6 @@ void BBvAntennaDiversity(struct vnt_private *pDevice,
} //byAntennaState
}
-
/*+
*
* Description:
@@ -1418,11 +1395,9 @@ void TimerSQ3CallBack(struct vnt_private *pDevice)
add_timer(&pDevice->TimerSQ3Tmax3);
add_timer(&pDevice->TimerSQ3Tmax2);
-
spin_unlock_irq(&pDevice->lock);
}
-
/*+
*
* Description:
@@ -1471,7 +1446,6 @@ void TimerSQ3Tmax3CallBack(struct vnt_private *pDevice)
void BBvUpdatePreEDThreshold(struct vnt_private *pDevice, int bScanning)
{
-
switch(pDevice->byRFType)
{
case RF_AL2230: