diff options
| author | 2022-04-11 16:13:54 +0200 | |
|---|---|---|
| committer | 2022-04-21 07:36:56 -0400 | |
| commit | 4456641232e2c1b1eb7d179449c5800b3ce9e9c1 (patch) | |
| tree | a5dbf976039195f2704f98afe700b1eaa46d771f /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | drm/i915/gvt: remove the extra vfio_device refcounting for dmabufs (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 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
