Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > The list iterator is always non-NULL so it doesn't need to be checked. > I also removed the unnecessary initializer because the list iterator is > always initialized. > > 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. 269663f18474 ath11k: remove an unneeded NULL check -- https://patchwork.kernel.org/patch/11290433/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches