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

From: Peter Senna Tschudin
Date: Sat May 31 2014 - 17:21:46 EST


On Sat, May 31, 2014 at 6:17 PM, Sergei Shtylyov
<sergei.shtylyov@xxxxxxxxxxxxxxxxxx> wrote:
> 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.
That was my fault. It was fixed on V2:
http://marc.info/?l=kernel-janitors&m=140155221232137&w=2

>
>> Verified by compilation only.
>
>
> [...]
>
>
>> Signed-off-by: Peter Senna Tschudin <peter.senna@xxxxxxxxx>
>
>
> WBR, Sergei
>
>



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