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

From: Gustavo A. R. Silva
Date: Tue May 09 2017 - 08:25:28 EST


Hi Kalle,

Quoting Kalle Valo <kvalo@xxxxxxxxxxxxxxxx>:

"Gustavo A. R. Silva" <garsilva@xxxxxxxxxxxxxx> writes:

The name of an array used by itself will always return the array's address.
So these tests will always evaluate as false and therefore the _return_
will never be executed.

Signed-off-by: Gustavo A. R. Silva <garsilva@xxxxxxxxxxxxxx>

I don't understand the commit log, especially what does "The name of an
array used by itself" mean?


Let me correct that and I'll send the patch again.

Thanks!
--
Gustavo A. R. Silva