]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 30 Mar 2017 05:32:12 +0000 (13:32 +0800)
commit5090bd029be2678b34cc051fe2db276f2405a023
tree620d6e20b89ac69e824858d2ebc647c5ae825c81
parentcb62653238dc6cb49f111153ea4417134280fc80
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: 29aef3fba8d3 ("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>
drivers/gpu/drm/i915/gvt/kvmgt.c