Re: [PATCH 1/3] xen: remove tmem driver

From: Boris Ostrovsky
Date: Tue May 28 2019 - 18:49:19 EST



> diff --git a/include/xen/balloon.h b/include/xen/balloon.h
> index 4914b93a23f2..a72ef3f88b39 100644
> --- a/include/xen/balloon.h
> +++ b/include/xen/balloon.h
> @@ -28,14 +28,6 @@ int alloc_xenballooned_pages(int nr_pages, struct page **pages);
> void free_xenballooned_pages(int nr_pages, struct page **pages);
>
> struct device;




This can be removed as well.

Other than that,

Acked-by: Boris Ostriovsky <boris.ostrovsky@xxxxxxxxxx>

> -#ifdef CONFIG_XEN_SELFBALLOONING
> -extern int register_xen_selfballooning(struct device *dev);
> -#else
> -static inline int register_xen_selfballooning(struct device *dev)
> -{
> - return -ENOSYS;
> -}
> -#endif
>
> #ifdef CONFIG_XEN_BALLOON
> void xen_balloon_init(void);
>