Re: [PATCH V2] coccicheck: Add unneeded return variable test

From: Michal Marek
Date: Tue Jun 10 2014 - 08:37:24 EST


On 2014-06-01 20:12, Peter Senna Tschudin wrote:
> This semantic patch looks for variables that are initialized with a
> constant, are never updated, and are only used as parameter of return.
> Return the constant instead of using a variable.
>
> Signed-off-by: Peter Senna Tschudin <peter.senna@xxxxxxxxx>

Applied to kbuild.git#misc, thanks.

Michal

--
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/