diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-11 16:13:54 +0200 |
---|---|---|
committer | Zhi Wang <zhi.a.wang@intel.com> | 2022-04-21 07:36:56 -0400 |
commit | 4456641232e2c1b1eb7d179449c5800b3ce9e9c1 (patch) | |
tree | a5dbf976039195f2704f98afe700b1eaa46d771f /tools/perf/scripts/python/stackcollapse.py | |
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 <hch@lst.de>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220411141403.86980-26-hch@lst.de
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions