Guenter Roeck 919606f5e7 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 <linux@roeck-us.net>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20210523172304.3033229-1-linux@roeck-us.net
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
2022-01-12 02:52:27 -05:00
..
2020-06-02 23:15:34 +01:00
2021-02-22 16:13:19 +08:00
2020-12-22 11:39:30 +08:00
2020-12-25 11:15:15 +08:00
2021-10-28 14:59:38 +10:00