[CRIU] [PATCH] remote: Remove unused constants
Andrei Vagin
avagin at virtuozzo.com
Thu Jun 14 20:33:42 MSK 2018
Applied, thanks!
On Thu, Jun 14, 2018 at 08:57:38AM +0100, Radostin Stoyanov wrote:
> Drop the constants for default cache host/port and page size because
> they are not used anywhere.
>
> Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
> ---
> criu/include/img-remote.h | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/criu/include/img-remote.h b/criu/include/img-remote.h
> index c32e6ea5..15e1bc5d 100644
> --- a/criu/include/img-remote.h
> +++ b/criu/include/img-remote.h
> @@ -16,14 +16,9 @@
> #define NULL_SNAPSHOT_ID "null"
> #define DEFAULT_CACHE_SOCKET "img-cache.sock"
> #define DEFAULT_PROXY_SOCKET "img-proxy.sock"
> -#define DEFAULT_CACHE_PORT 9996
> -#define DEFAULT_CACHE_HOST "localhost"
>
> #define DEFAULT_LISTEN 50
> -#ifndef PAGESIZE
> -#define PAGESIZE 4096
> -#endif
> -#define BUF_SIZE PAGESIZE
> +#define BUF_SIZE 4096
>
> struct rbuf {
> char buffer[BUF_SIZE];
> --
> 2.17.1
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list