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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux