diff options
author | Erick Archer <[email protected]> | 2024-05-27 19:34:25 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2024-06-01 13:08:57 +0300 |
commit | dcb77f854ae086bf32596fae02c88665393a13e8 (patch) | |
tree | fb7c1c02c9ac215a78a5257c6a84d4563d0f7029 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 8526f8c877baf3f9e678b31fd7d1066b776775cc (diff) |
wifi: brcm80211: use sizeof(*pointer) instead of sizeof(type)
It is preferred to use sizeof(*pointer) instead of sizeof(type)
due to the type of the variable can change and one needs not
change the former (unlike the latter). This patch has no effect
on runtime behavior.
At the same time remove some redundant NULL initializations.
Acked-by: Arend van Spriel <[email protected]>
Signed-off-by: Erick Archer <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://msgid.link/AS8PR02MB7237FF1C2E880D1231684D708BF02@AS8PR02MB7237.eurprd02.prod.outlook.com
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions