Re: [PATCH v2] wifi: wilc1000: remove setting msg.spi

From: Kalle Valo
Date: Mon Feb 05 2024 - 13:18:12 EST


David Lechner <dlechner@xxxxxxxxxxxx> wrote:

> Calling spi_sync() unconditionally sets the spi field of struct
> spi_message. Therefore setting msg.spi = spi before calling spi_sync()
> has no effect and can be removed.
>
> (spi_message_add_tail() does not access this field.)
>
> Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

bed41a344426 wifi: wilc1000: remove setting msg.spi

--
https://patchwork.kernel.org/project/linux-wireless/patch/20240201201248.2334798-2-dlechner@xxxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches