From: Benjamin Romer Date: Thu, 23 Oct 2014 18:29:43 +0000 (-0400) Subject: staging: unisys: delete extra space character in vbuschannel_itoa() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0d2400c35824cb37cae83d6a039166a5067bf047;p=openwrt%2Fstaging%2Fblogic.git staging: unisys: delete extra space character in vbuschannel_itoa() There's no need for that extra space in the typecast in vbuschannel_itoa(), so just delete it. Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h b/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h index 28864a89908c..9b6d3e69355c 100644 --- a/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h +++ b/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h @@ -118,7 +118,7 @@ vbuschannel_itoa(char *p, int remain, int num) } /* form a backwards decimal ascii string in */ while (num > 0) { - if (digits >= (int) sizeof(s)) + if (digits >= (int)sizeof(s)) return 0; s[digits++] = (num % 10) + '0'; num = num / 10;