Re: [PATCH 1/11] USB: kl5kusb105: Remove useless return variables

From: Sergei Shtylyov
Date: Sat May 31 2014 - 17:17:52 EST


Hello.

On 05/31/2014 05:14 PM, Peter Senna Tschudin wrote:

This patch remove 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.

The patch does more than just that, it also removes commented out code.

Verified by compilation only.

[...]

Signed-off-by: Peter Senna Tschudin <peter.senna@xxxxxxxxx>

WBR, Sergei


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