diff options
author | Pei Zhang <pei.zhang@intel.com> | 2017-12-11 17:15:02 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-12-11 17:17:31 +0800 |
commit | eb3f05171c2e84f0114403df0fea942479fdaa3e (patch) | |
tree | 2a8d60ccf48fd6a9ae2563e7f46bef6b2b6fe246 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | 6ee942d5f7e3e630d3a2517e75969ce5d07c87d6 (diff) |
drm/i915/gvt: refine function emulate_mmio_read/write
These 2 functions are coded by multiple person in multiple patches. The
'return' and 'goto err' are mix-used in same place, which cause the
function looks disorder. Unify to use only 'goto' so that the gvt lock
is acquired in one place and released in one place.
Signed-off-by: Pei Zhang <pei.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions