Re: [PATCH] net: wireless: ath: ath9k: remove unnecessary code

2017-05-09 Thread Gustavo A. R. Silva
Quoting Kalle Valo : "Gustavo A. R. Silva" writes: Hi Kalle, Quoting Kalle Valo : "Gustavo A. R. Silva" writes: The name of an array used by itself will always return the array's address. So this test will always evaluate as true. Addresses-Coverity-ID: 1364903 Signed-off-by: Gustav

Re: [PATCH] net: wireless: ath: ath9k: remove unnecessary code

2017-05-09 Thread Gustavo A. R. Silva
Hi Kalle, Quoting Kalle Valo : "Gustavo A. R. Silva" writes: The name of an array used by itself will always return the array's address. So this test will always evaluate as true. Addresses-Coverity-ID: 1364903 Signed-off-by: Gustavo A. R. Silva --- drivers/net/wireless/ath/ath9k/eeprom.c

Re: [PATCH] net: wireless: ath: ath9k: remove unnecessary code

2017-05-09 Thread Kalle Valo
"Gustavo A. R. Silva" writes: > Hi Kalle, > > Quoting Kalle Valo : > >> "Gustavo A. R. Silva" writes: >> >>> The name of an array used by itself will always return the array's address. >>> So this test will always evaluate as true. >>> >>> Addresses-Coverity-ID: 1364903 >>> Signed-off-by: Gustav

Re: [PATCH] net: wireless: ath: ath9k: remove unnecessary code

2017-05-09 Thread Kalle Valo
"Gustavo A. R. Silva" writes: > The name of an array used by itself will always return the array's address. > So this test will always evaluate as true. > > Addresses-Coverity-ID: 1364903 > Signed-off-by: Gustavo A. R. Silva > --- > drivers/net/wireless/ath/ath9k/eeprom.c | 2 +- > 1 file chang

[PATCH] net: wireless: ath: ath9k: remove unnecessary code

2017-05-08 Thread Gustavo A. R. Silva
The name of an array used by itself will always return the array's address. So this test will always evaluate as true. Addresses-Coverity-ID: 1364903 Signed-off-by: Gustavo A. R. Silva --- drivers/net/wireless/ath/ath9k/eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a