drm/i915/gvt: remove the redundant info NULL check
authorTina Zhang <tina.zhang@intel.com>
Fri, 24 Mar 2017 05:56:54 +0000 (01:56 -0400)
committerJani Nikula <jani.nikula@intel.com>
Fri, 31 Mar 2017 10:39:57 +0000 (13:39 +0300)
commit9ba2a6261de49588714a25f49db80bbe961b870a
tree7f2e89c0d512123ee4f858d7c8bed5c5df895cc1
parent729a0cd45c886a8d1ae0b3063b20d525fc729523
drm/i915/gvt: remove the redundant info NULL check

The variable info is never NULL, which is checked by the caller. This
patch removes the redundant info NULL check logic.

Fixes: 695fbc08d80f ("drm/i915/gvt: replace the gvt_err with gvt_vgpu_err")
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
(cherry picked from commit 865f03d42ed0c90c9faf3301775176834ba13eba)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/gvt/kvmgt.c