Staging: vt6655: card: Remove unnecessary space after a cast
authorSandhya Bankar <bankarsandhya512@gmail.com>
Mon, 19 Sep 2016 12:17:21 +0000 (17:47 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Sep 2016 11:59:46 +0000 (13:59 +0200)
No space is necessary after a cast. This issue was found by checkpatch.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/card.c

index afb1e8bde975d17c78c2585619772a6f459a601c..dbcea4434725f32731bd1bb5babb2e0aa3e1fdd1 100644 (file)
@@ -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);