diff options
| author | Menna Mahmoud <[email protected]> | 2023-03-20 23:22:39 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-03-22 10:17:17 +0100 |
| commit | c388adce927c302dc740a550e79236f4dc9864b7 (patch) | |
| tree | 9f00f8df6840c0f93c2fa1677866778f11295bda /tools/perf/scripts/python/flamegraph.py | |
| parent | 8f51a66a629b67a11250f555b89aa8d91137ed94 (diff) | |
staging: most: define iface_to_hdm as an inline function
Convert `iface_to_hdm` macro into a static inline function.
it is not great to have macro that use `container_of` macro,
because from looking at the definition one cannot tell
what type it applies to.
One can get the same benefit from an efficiency point of view
by making an inline function.
Suggested-by: Julia Lawall <[email protected]>
Signed-off-by: Menna Mahmoud <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions