[dpdk-dev,RFC,18/18] xenvirt: remove type field from rte_driver structure
Commit Message
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
---
drivers/net/xenvirt/rte_eth_xenvirt.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
@@ -1,7 +1,7 @@
/*-
* BSD LICENSE
*
- * Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
+ * Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -706,8 +706,7 @@ rte_pmd_xenvirt_devinit(const char *name, const char *params)
}
static struct rte_driver pmd_xenvirt_drv = {
- .name = "eth_xenvirt",
- .type = PMD_VDEV,
+ .name = "eth_xenvirt", /* Virtual device */
.init = rte_pmd_xenvirt_devinit,
};