diff options
| author | Christoph Hellwig <[email protected]> | 2022-04-11 16:13:54 +0200 |
|---|---|---|
| committer | Zhi Wang <[email protected]> | 2022-04-21 07:36:56 -0400 |
| commit | 4456641232e2c1b1eb7d179449c5800b3ce9e9c1 (patch) | |
| tree | a5dbf976039195f2704f98afe700b1eaa46d771f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | 37e4bdbd5bad711c7db5458041416f3925d7aae5 (diff) | |
drm/i915/gvt: streamline intel_vgpu_create
Initialize variables at declaration time, avoid pointless gotos and
cater for the fact that intel_gvt_create_vgpu can't return NULL.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Zhi Wang <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Zhi Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions