Re: [PATCH] remove untouched code in kfifo_in

From: richard -rw- weinberger
Date: Thu Oct 18 2012 - 18:37:09 EST


On Thu, Oct 18, 2012 at 3:59 PM, Wei Yang <weiyang@xxxxxxxxxxxxxxxxxx> wrote:
> In kfifo_in marco, one piece of code is arounded by if(0). This code in
> introduced by Stefani Seibold <stefani@xxxxxxxxxxx> to suppress a compiler
> warning. This warning is not there with the upgrade of gcc version.
>
> This patch just remove this code.

Are you sure?
This code fragment looks like a compiler bomb to detect type mismatch to me...

--
Thanks,
//richard
--
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/