Commit 9fb8b101 authored by Christopher Díaz Riveros's avatar Christopher Díaz Riveros Committed by Greg Kroah-Hartman

staging: rtl8723bs: hal_com_phycfg: Remove unneeded semicolons

Trivial fix removes unneeded semicolons after switch blocks.

This issue was detected by using the Coccinelle software.
Signed-off-by: default avatarChristopher Díaz Riveros <chrisadr@gentoo.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7f7aeea7
...@@ -66,8 +66,7 @@ u8 PHY_GetTxPowerByRateBase(struct adapter *Adapter, u8 Band, u8 RfPath, ...@@ -66,8 +66,7 @@ u8 PHY_GetTxPowerByRateBase(struct adapter *Adapter, u8 Band, u8 RfPath,
DBG_871X("Invalid RateSection %d in Band 2.4G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n", DBG_871X("Invalid RateSection %d in Band 2.4G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n",
RateSection, RfPath, TxNum); RateSection, RfPath, TxNum);
break; break;
}
};
} else if (Band == BAND_ON_5G) { } else if (Band == BAND_ON_5G) {
switch (RateSection) { switch (RateSection) {
case OFDM: case OFDM:
...@@ -101,7 +100,7 @@ u8 PHY_GetTxPowerByRateBase(struct adapter *Adapter, u8 Band, u8 RfPath, ...@@ -101,7 +100,7 @@ u8 PHY_GetTxPowerByRateBase(struct adapter *Adapter, u8 Band, u8 RfPath,
DBG_871X("Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n", DBG_871X("Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in PHY_GetTxPowerByRateBase()\n",
RateSection, RfPath, TxNum); RateSection, RfPath, TxNum);
break; break;
}; }
} else } else
DBG_871X("Invalid Band %d in PHY_GetTxPowerByRateBase()\n", Band); DBG_871X("Invalid Band %d in PHY_GetTxPowerByRateBase()\n", Band);
...@@ -161,7 +160,7 @@ phy_SetTxPowerByRateBase( ...@@ -161,7 +160,7 @@ phy_SetTxPowerByRateBase(
DBG_871X("Invalid RateSection %d in Band 2.4G, Rf Path %d, %dTx in phy_SetTxPowerByRateBase()\n", DBG_871X("Invalid RateSection %d in Band 2.4G, Rf Path %d, %dTx in phy_SetTxPowerByRateBase()\n",
RateSection, RfPath, TxNum); RateSection, RfPath, TxNum);
break; break;
}; }
} else if (Band == BAND_ON_5G) { } else if (Band == BAND_ON_5G) {
switch (RateSection) { switch (RateSection) {
case OFDM: case OFDM:
...@@ -195,7 +194,7 @@ phy_SetTxPowerByRateBase( ...@@ -195,7 +194,7 @@ phy_SetTxPowerByRateBase(
DBG_871X("Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in phy_SetTxPowerByRateBase()\n", DBG_871X("Invalid RateSection %d in Band 5G, Rf Path %d, %dTx in phy_SetTxPowerByRateBase()\n",
RateSection, RfPath, TxNum); RateSection, RfPath, TxNum);
break; break;
}; }
} else } else
DBG_871X("Invalid Band %d in phy_SetTxPowerByRateBase()\n", Band); DBG_871X("Invalid Band %d in phy_SetTxPowerByRateBase()\n", Band);
} }
...@@ -336,7 +335,7 @@ u8 PHY_GetRateSectionIndexOfTxPowerByRate( ...@@ -336,7 +335,7 @@ u8 PHY_GetRateSectionIndexOfTxPowerByRate(
default: default:
DBG_871X("Invalid RegAddr 0x3%x in PHY_GetRateSectionIndexOfTxPowerByRate()", RegAddr); DBG_871X("Invalid RegAddr 0x3%x in PHY_GetRateSectionIndexOfTxPowerByRate()", RegAddr);
break; break;
}; }
} }
return index; return index;
...@@ -726,7 +725,7 @@ PHY_GetRateValuesOfTxPowerByRate( ...@@ -726,7 +725,7 @@ PHY_GetRateValuesOfTxPowerByRate(
default: default:
DBG_871X("Invalid RegAddr 0x%x in %s()\n", RegAddr, __func__); DBG_871X("Invalid RegAddr 0x%x in %s()\n", RegAddr, __func__);
break; break;
}; }
} }
static void PHY_StoreTxPowerByRateNew( static void PHY_StoreTxPowerByRateNew(
...@@ -1474,8 +1473,7 @@ u8 PHY_GetRateIndexOfTxPowerByRate(u8 Rate) ...@@ -1474,8 +1473,7 @@ u8 PHY_GetRateIndexOfTxPowerByRate(u8 Rate)
default: default:
DBG_871X("Invalid rate 0x%x in %s\n", Rate, __func__); DBG_871X("Invalid rate 0x%x in %s\n", Rate, __func__);
break; break;
}; }
return index; return index;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment