| 311 | } |
| 312 | |
| 313 | static int |
| 314 | bcmfs_vdev_remove(struct rte_vdev_device *vdev) |
| 315 | { |
| 316 | struct bcmfs_device *fsdev; |
| 317 | |
| 318 | fsdev = find_fsdev(vdev); |
| 319 | if (fsdev == NULL) |
| 320 | return -ENODEV; |
| 321 | |
| 322 | fsdev_release(fsdev); |
| 323 | return 0; |
| 324 | } |
| 325 | |
| 326 | /* Register with vdev */ |
| 327 | static struct rte_vdev_driver rte_bcmfs_pmd = { |
nothing calls this directly
no test coverage detected