hv: remove 'flags' field in struct vm_io_range

Currently, 'flags' is defined and set but never be used
  in the flow of handling i/o request after then.

Tracked-On: #861
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Yonghua Huang
2019-08-16 14:29:55 +08:00
committed by ACRN System Integration
parent eab4e42e7b
commit 700a37856f
7 changed files with 1 additions and 16 deletions

View File

@@ -468,7 +468,6 @@ static bool vuart_register_io_handler(struct acrn_vm *vm, uint16_t port_base, ui
bool ret = true;
struct vm_io_range range = {
.flags = IO_ATTR_RW,
.base = port_base,
.len = 8U
};