Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > The "survey" pointer is the address of an array element. We know that > it can't be NULL so this check can be removed. > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 27120f2ac995 ath10k: remove an unnecessary NULL check -- https://patchwork.kernel.org/patch/10704625/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches