Skip to contentSkip to conversation

Staging: Remove unnecessary space after a cast

PATCH New Sandhya Bankar 1 participant 3 messages Sep 19, 2016 Staging

lore
Share & tools
lore
#0 lore raw

cover Staging: Remove unnecessary space after a cast

No space is necessary after a cast. This issue was found by checkpatch.

Sandhya Bankar (2):
Staging: vt6655: baseband: Remove unnecessary space after a cast
Staging: vt6655: card: Remove unnecessary space after a cast

 drivers/staging/vt6655/baseband.c |    2 +-
 drivers/staging/vt6655/card.c     |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
#1 lore raw

PATCH 1/2 Staging: vt6655: baseband: Remove unnecessary space after a cast

No space is necessary after a cast. This issue was found by checkpatch.

---
 drivers/staging/vt6655/baseband.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/vt6655/baseband.c +1 -1
index 654d072..de503a3 100644
@@ -1729,7 +1729,7 @@ BBuGetFrameTime(
 	unsigned int uFrameTime;
 	unsigned int uPreamble;
 	unsigned int uTmp;
-	unsigned int uRateIdx = (unsigned int) wRate;
+	unsigned int uRateIdx = (unsigned int)wRate;
 	unsigned int uRate = 0;
 
 	if (uRateIdx > RATE_54M)
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/2 Staging: vt6655: card: Remove unnecessary space after a cast

In reply to Sandhya Bankar

No space is necessary after a cast. This issue was found by checkpatch.

---
 drivers/staging/vt6655/card.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/vt6655/card.c +2 -2
index afb1e8b..dbcea44 100644
@@ -619,7 +619,7 @@ CARDvSafeResetRx(
 static unsigned short CARDwGetCCKControlRate(struct vnt_private *priv,
 					     unsigned short wRateIdx)
 {
-	unsigned int ui = (unsigned int) wRateIdx;
+	unsigned int ui = (unsigned int)wRateIdx;
 
 	while (ui > RATE_1M) {
 		if (priv->basic_rates & ((u32)0x1 << ui))
@@ -645,7 +645,7 @@ static unsigned short CARDwGetCCKControlRate(struct vnt_private *priv,
 static unsigned short CARDwGetOFDMControlRate(struct vnt_private *priv,
 					      unsigned short wRateIdx)
 {
-	unsigned int ui = (unsigned int) wRateIdx;
+	unsigned int ui = (unsigned int)wRateIdx;
 
 	pr_debug("BASIC RATE: %X\n", priv->basic_rates);
 
Signature · 1 line
1.7.1