diff options
| author | Guenter Roeck <[email protected]> | 2021-05-23 10:23:04 -0700 |
|---|---|---|
| committer | Zhi Wang <[email protected]> | 2022-01-12 02:52:27 -0500 |
| commit | 919606f5e7d8cfbdef47ab7e24bf37cf86dd1512 (patch) | |
| tree | 9bbc8749ae577be599e06153e90eb6131e9f2f33 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 96db14432d979532be4cb6d5d52a127317e68b3f (diff) | |
drm/i915/gvt: Use list_entry to access list members
Use list_entry() instead of container_of() to access list members.
Also drop unnecessary and misleading NULL checks on the result of
list_entry().
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Zhenyu Wang <[email protected]>
Signed-off-by: Zhi Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions