mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-19 01:26:22 +00:00
service: Remove empty cr_service_client
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
91389f8782
commit
2fe5884df3
2 changed files with 0 additions and 8 deletions
|
|
@ -18,7 +18,6 @@
|
|||
#include "log.h"
|
||||
#include "cr-service.h"
|
||||
|
||||
struct _cr_service_client *cr_service_client;
|
||||
unsigned int service_sk_ino = 0;
|
||||
|
||||
static int recv_criu_msg(int socket_fd, CriuReq **msg)
|
||||
|
|
@ -215,10 +214,6 @@ int cr_service(bool daemon_mode)
|
|||
socklen_t server_addr_len;
|
||||
socklen_t client_addr_len;
|
||||
|
||||
cr_service_client = xmalloc(sizeof(struct _cr_service_client));
|
||||
if (cr_service_client == NULL)
|
||||
goto err;
|
||||
|
||||
server_fd = socket(AF_LOCAL, SOCK_SEQPACKET, 0);
|
||||
if (server_fd == -1) {
|
||||
pr_perror("Can't initialize service socket.");
|
||||
|
|
|
|||
|
|
@ -10,9 +10,6 @@ int cr_service(bool deamon_mode);
|
|||
|
||||
int send_criu_dump_resp(int socket_fd, bool success, bool restored);
|
||||
|
||||
struct _cr_service_client {
|
||||
};
|
||||
|
||||
extern struct _cr_service_client *cr_service_client;
|
||||
extern unsigned int service_sk_ino;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue