summaryrefslogtreecommitdiff
path: root/mm/percpu-stats.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-05-23 12:02:13 +0200
committerJohannes Berg <johannes.berg@intel.com>2024-05-29 10:38:53 +0200
commit8526f8c877baf3f9e678b31fd7d1066b776775cc (patch)
tree54031e2504091b1070bc0f2125a7d025706ebf53 /mm/percpu-stats.c
parent6322e0e75a01d30b914fa87470ad00d8db844f72 (diff)
wifi: nl80211: clean up coalescing rule handling
There's no need to allocate a tiny struct and then an array again, just allocate the two together and use __counted_by(). Also unify the freeing. Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com> Link: https://msgid.link/20240523120213.48a40cfb96f9.Ia02bf8f8fefbf533c64c5fa26175848d4a3a7899@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'mm/percpu-stats.c')
0 files changed, 0 insertions, 0 deletions