staging: rtl8192e: delete extra blank lines
fixing CHECK:Blank lines aren't necessary before a close brace '}' Signed-off-by: Wang Qing <wangqing@vivo.com> Link: https://lore.kernel.org/r/1621393219-28665-1-git-send-email-wangqing@vivo.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9b0644fc43
commit
946c945301
@ -46,7 +46,6 @@ void rtl92e_set_bandwidth(struct net_device *dev,
|
|||||||
netdev_err(dev, "%s(): Unknown bandwidth: %#X\n",
|
netdev_err(dev, "%s(): Unknown bandwidth: %#X\n",
|
||||||
__func__, Bandwidth);
|
__func__, Bandwidth);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -73,7 +72,6 @@ bool rtl92e_config_rf(struct net_device *dev)
|
|||||||
|
|
||||||
pPhyReg = &priv->PHYRegDef[eRFPath];
|
pPhyReg = &priv->PHYRegDef[eRFPath];
|
||||||
|
|
||||||
|
|
||||||
switch (eRFPath) {
|
switch (eRFPath) {
|
||||||
case RF90_PATH_A:
|
case RF90_PATH_A:
|
||||||
case RF90_PATH_C:
|
case RF90_PATH_C:
|
||||||
@ -143,7 +141,6 @@ bool rtl92e_config_rf(struct net_device *dev)
|
|||||||
__func__, eRFPath);
|
__func__, eRFPath);
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RT_TRACE(COMP_PHY, "PHY Initialization Success\n");
|
RT_TRACE(COMP_PHY, "PHY Initialization Success\n");
|
||||||
@ -170,7 +167,6 @@ void rtl92e_set_cck_tx_power(struct net_device *dev, u8 powerlevel)
|
|||||||
rtl92e_set_bb_reg(dev, rTxAGC_CCK_Mcs32, bTxAGCRateCCK, TxAGC);
|
rtl92e_set_bb_reg(dev, rTxAGC_CCK_Mcs32, bTxAGCRateCCK, TxAGC);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void rtl92e_set_ofdm_tx_power(struct net_device *dev, u8 powerlevel)
|
void rtl92e_set_ofdm_tx_power(struct net_device *dev, u8 powerlevel)
|
||||||
{
|
{
|
||||||
struct r8192_priv *priv = rtllib_priv(dev);
|
struct r8192_priv *priv = rtllib_priv(dev);
|
||||||
@ -215,5 +211,4 @@ void rtl92e_set_ofdm_tx_power(struct net_device *dev, u8 powerlevel)
|
|||||||
(byte1 << 8) | byte0;
|
(byte1 << 8) | byte0;
|
||||||
rtl92e_set_bb_reg(dev, RegOffset[index], 0x7f7f7f7f, writeVal);
|
rtl92e_set_bb_reg(dev, RegOffset[index], 0x7f7f7f7f, writeVal);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user