]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1abf68f466ae41864dfc262dfae215a0eac1dfab
treeb50834cfc6f23f9a6f7e3180b7be922ea96aeedc
parentc6e16603b6ea077705513cdd623128b3f2705f0c
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