drm/i915/gvt: removed unnecessary boundary check
authorXinyun Liu <xinyun.liu@intel.com>
Thu, 7 Jun 2018 14:48:41 +0000 (22:48 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 11 Jun 2018 07:04:32 +0000 (15:04 +0800)
commit659571953d315b36204acac508ef8d477044d260
treeb50834cfc6f23f9a6f7e3180b7be922ea96aeedc
parent1f1c60d5b577377d07863f3e0891e63a0a56a3ad
drm/i915/gvt: removed unnecessary boundary check

type is already checked in the function entry. So it is unnecessary
to check it again.

Signed-off-by: Xinyun Liu <xinyun.liu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gtt.c