Re: [PATCH] staging: rtl8723bs: remove redundant comparisons of unsigned ints with >= 0

2017-04-14 Thread Hans de Goede
Hi, On 13-04-17 16:13, Colin King wrote: From: Colin Ian King The comparison of mode >= 0 is redundant as mode is a u32 and this is always true. Remove this redundant code. Detected with CoverityScan ("Unsigned compared against 0") Signed-off-by: Colin Ian King

[PATCH] staging: rtl8723bs: remove redundant comparisons of unsigned ints with >= 0

2017-04-13 Thread Colin King
From: Colin Ian King The comparison of mode >= 0 is redundant as mode is a u32 and this is always true. Remove this redundant code. Detected with CoverityScan ("Unsigned compared against 0") Signed-off-by: Colin Ian King ---