[lkml]   [2017]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] net: wireless: ath: ath10k: remove unnecessary code
Arend Van Spriel <> writes:

> On 9-5-2017 7:33, Kalle Valo wrote:
>> "Gustavo A. R. Silva" <> 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 <>
>> I don't understand the commit log, especially what does "The name of an
>> array used by itself" mean?
> The array fields in struct wmi_start_scan_arg that are checked here are
> fixed size arrays so they can never be NULL.
> Maybe that helps rephrasing this commit message.

Much much better, thanks!

Kalle Valo
 \ /
  Last update: 2017-05-10 21:18    [W:0.043 / U:2.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site