diff options
| author | Sascha Hauer <[email protected]> | 2024-08-16 08:56:10 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2024-08-22 12:00:11 +0300 |
| commit | 67a72043aa2e6f60f7bbe7bfa598ba168f16d04f (patch) | |
| tree | c4a2b5e80d936a8a7c6a7845263ae7d05efe55c2 /tools/perf/scripts/python | |
| parent | c9f4c1ec69728310a31080c266b8529381c1a7fa (diff) | |
wifi: mwifiex: remove unnecessary checks for valid priv
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 <[email protected]>
Acked-by: Brian Norris <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://patch.msgid.link/20240816-mwifiex-remove-priv-checks-v1-1-6dd6553e8ed9@pengutronix.de
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions