summaryrefslogtreecommitdiff
path: root/mm/percpu-stats.c
diff options
context:
space:
mode:
authorErick Archer <erick.archer@outlook.com>2024-05-27 19:34:25 +0200
committerKalle Valo <kvalo@kernel.org>2024-06-01 13:08:57 +0300
commitdcb77f854ae086bf32596fae02c88665393a13e8 (patch)
treefb7c1c02c9ac215a78a5257c6a84d4563d0f7029 /mm/percpu-stats.c
parent8526f8c877baf3f9e678b31fd7d1066b776775cc (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 <arend.vanspriel@broadcom.com> Signed-off-by: Erick Archer <erick.archer@outlook.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/AS8PR02MB7237FF1C2E880D1231684D708BF02@AS8PR02MB7237.eurprd02.prod.outlook.com
Diffstat (limited to 'mm/percpu-stats.c')
0 files changed, 0 insertions, 0 deletions