drm/i915/gvt: remove the unused sreg
authorYan Zhao <yan.y.zhao@intel.com>
Mon, 11 Mar 2019 01:40:45 +0000 (21:40 -0400)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 11 Mar 2019 03:32:07 +0000 (11:32 +0800)
commit9c1c8416fc3759d52e6e173d4059149d5d2c6c00
tree2f08248ce48729b0b77d792a8ebcddfd1bd94b14
parented47c5cb8ee638b1c60fbb65c82c8784bf68539d
drm/i915/gvt: remove the unused sreg

code cleanup. sreg is not used now. remove it for code cleanness.

v3: remove unnecessary array_size in vreg's memory allocation (min he)
v2: do not allocate memory for sreg. (min he)

Reviewed-by: He, Min <min.he@intel.com>
Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gvt.h
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/mmio.c