Re: [PATCH] ath10k: spectral: Simplify error checking

2017-10-14 Thread Christos Gkekas
On 13/10/17 12:28:50 +, Kalle Valo wrote: > Christos Gkekas writes: > > > Variable val is unsigned so checking whether it is less than zero is > > redundant. > > > > Signed-off-by: Christos Gkekas > > --- > >

Re: [PATCH] ath10k: spectral: Simplify error checking

2017-10-13 Thread Kalle Valo
Christos Gkekas writes: > Variable val is unsigned so checking whether it is less than zero is > redundant. > > Signed-off-by: Christos Gkekas > --- > drivers/net/wireless/ath/ath10k/spectral.c | 5 + > 1 file changed, 1 insertion(+), 4

[PATCH] ath10k: spectral: Simplify error checking

2017-10-08 Thread Christos Gkekas
Variable val is unsigned so checking whether it is less than zero is redundant. Signed-off-by: Christos Gkekas --- drivers/net/wireless/ath/ath10k/spectral.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/spectral.c