Re: [PATCH 2/2] usb: serial: remove redundant condition

From: Sergei Shtylyov
Date: Fri Dec 11 2015 - 07:30:56 EST


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@xxxxxxxxx>

MBR, 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
Please read the FAQ at