lkml.org 
[lkml]   [2015]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] usb: serial: remove redundant condition
From
Date
Hello.

On 12/11/2015 12:46 PM, Geyslan G. Bem wrote:

It's a bad idea to send 2 different patches with the same subject. I'd use
"mos7840: " as a prefix in this case.

> This patch removes redundant condition.
>
> (length && length > 5) can be reduced to a single evaluation.
>
> Tested by compilation only.
> Caught by cppcheck.
>
> Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
[...]

MBR, Sergei



\
 
 \ /
  Last update: 2015-12-11 13:41    [W:0.052 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site