drm/i915/gvt/kvmgt: remove some dead code
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 7 Feb 2017 14:53:07 +0000 (17:53 +0300)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 8 Feb 2017 05:11:22 +0000 (13:11 +0800)
commit5bf63fb40eacb7ed1f1de70ae30a597313fa9960
treeaee3d13ba3e09b42f6118f0b81a99cb91e8dddc6
parent2d6ceb8e654a0ce998762b13f0ba2c275220a244
drm/i915/gvt/kvmgt: remove some dead code

"caps.buf" is always NULL here and "caps.size" is always zero.  The code
is a no-op and can be removed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/kvmgt.c