Re: [PATCH] ARM: davinci: Remove redundant casts

From: Sekhar Nori
Date: Tue Nov 18 2014 - 10:53:48 EST


On Tuesday 21 October 2014 09:40 PM, Sergei Shtylyov wrote:
> Hello.
>
> On 10/21/2014 06:53 PM, Rasmus Villemoes wrote:
>
>> These casts to char* are unnecessary and slightly confusing, since
>> both operands actually have type const char*.
>
> Both operands of what? Typecast only has 1 operand. :-)

Queuing this with this description:

"
Remove unnecessary casts to char*. Both operands of the
assignment actually have type const char*.
"

Thanks,
Sekhar
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/