staging: unisys: delete extra space character in vbuschannel_itoa()
authorBenjamin Romer <benjamin.romer@unisys.com>
Thu, 23 Oct 2014 18:29:43 +0000 (14:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 02:33:07 +0000 (10:33 +0800)
There's no need for that extra space in the typecast in
vbuschannel_itoa(), so just delete it.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h

index 28864a8..9b6d3e6 100644 (file)
@@ -118,7 +118,7 @@ vbuschannel_itoa(char *p, int remain, int num)
        }
        /* form a backwards decimal ascii string in <s> */
        while (num > 0) {
-               if (digits >= (int) sizeof(s))
+               if (digits >= (int)sizeof(s))
                        return 0;
                s[digits++] = (num % 10) + '0';
                num = num / 10;