diff options
| author | Zhengchao Shao <[email protected]> | 2022-08-31 12:14:52 +0800 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2022-09-01 13:32:26 +0200 |
| commit | 4bf8594a8036f42ca7ece1bbdaf45b7954fb09e6 (patch) | |
| tree | ac78fb7e825c54e0b6b72e73dd04318dc23fb81b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
| parent | 2af39b9964851edeaa3ba5ea7d287ed894d5eaed (diff) | |
net: sched: gred: remove NULL check before free table->tab in gred_destroy()
The kfree invoked by gred_destroy_vq checks whether the input parameter
is empty. Therefore, gred_destroy() doesn't need to check table->tab.
Signed-off-by: Zhengchao Shao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions