Re: [PATCH 01/31] wifi: mwifiex: remove unnecessary checks for valid priv
From: Brian Norris
Date: Thu Aug 22 2024 - 13:58:46 EST
On Tue, Aug 20, 2024 at 01:55:26PM +0200, Sascha Hauer wrote:
> The pointers in adapter->priv[] are allocated in mwifiex_register().
> With an allocation failed the function will return an error and
> driver initialization is aborted. This makes all checks for valid
> priv pointers unnecessary throughout the driver. In many places
> the pointers are assumed to be valid without checks, this patch
> removes the remaining checks.
>
> Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
You already submitted this one separately, and it has now been merged.