diff options
author | Brett Creeley <[email protected]> | 2023-12-04 13:09:34 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-05 20:49:51 -0800 |
commit | 2d0b80c3a550f7828f26dba029c2b9346be789af (patch) | |
tree | 25c145970db36559d060c406e90779b6814507ac /tools/perf/scripts/python/gecko.py | |
parent | 46ca79d28fd7f2bbccf226fc0be59c2bd8d63dfe (diff) |
ionic: Don't check null when calling vfree()
vfree() checks for null internally, so there's no need to
check in the caller. So, always vfree() on variables
allocated with valloc(). If the variables are never
alloc'd vfree() is still safe.
Signed-off-by: Brett Creeley <[email protected]>
Signed-off-by: Shannon Nelson <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Rahul Rameshbabu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions