diff options
author | Juergen Gross <jgross@suse.com> | 2022-04-28 09:01:05 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2022-05-19 14:22:11 +0200 |
commit | 4573240f0764ee79d7558d74fc535baa1e110d20 (patch) | |
tree | b99ce844f2763cb0c7ff647ef02112c1f622db2d /include/xen | |
parent | 360dc89d12404384519b43e4a5ad5e94f2c8394f (diff) | |
download | linux-rpi-4573240f0764ee79d7558d74fc535baa1e110d20.tar.gz linux-rpi-4573240f0764ee79d7558d74fc535baa1e110d20.tar.bz2 linux-rpi-4573240f0764ee79d7558d74fc535baa1e110d20.zip |
xen/xenbus: eliminate xenbus_grant_ring()
There is no external user of xenbus_grant_ring() left, so merge it into
the only caller xenbus_setup_ring().
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/xenbus.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/xen/xenbus.h b/include/xen/xenbus.h index b533b4adc835..eaa932b99d8a 100644 --- a/include/xen/xenbus.h +++ b/include/xen/xenbus.h @@ -224,8 +224,6 @@ int xenbus_watch_pathfmt(struct xenbus_device *dev, struct xenbus_watch *watch, const char *pathfmt, ...); int xenbus_switch_state(struct xenbus_device *dev, enum xenbus_state new_state); -int xenbus_grant_ring(struct xenbus_device *dev, void *vaddr, - unsigned int nr_pages, grant_ref_t *grefs); int xenbus_setup_ring(struct xenbus_device *dev, gfp_t gfp, void **vaddr, unsigned int nr_pages, grant_ref_t *grefs); void xenbus_teardown_ring(void **vaddr, unsigned int nr_pages, |