aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/client.c8
-rw-r--r--src/client.h7
2 files changed, 0 insertions, 15 deletions
diff --git a/src/client.c b/src/client.c
index 9bb0b224c..c6d4c6249 100644
--- a/src/client.c
+++ b/src/client.c
@@ -317,14 +317,6 @@ void client_new(int fd, const struct sockaddr *addr)
sockaddr_to_tmp_string(addr));
}
-int client_get_fd(struct client *client)
-{
- assert(client != NULL);
- assert(client->fd >= 0);
-
- return client->fd;
-}
-
static int client_process_line(struct client *client)
{
int ret = 1;
diff --git a/src/client.h b/src/client.h
index f1e96bee5..d5577c331 100644
--- a/src/client.h
+++ b/src/client.h
@@ -31,13 +31,6 @@ void client_manager_expire(void);
void client_new(int fd, const struct sockaddr *addr);
-/**
- * Return the file descriptor of this client's socket. This function
- * will be removed once we have migrated to passing the client struct
- * everywhere.
- */
-int client_get_fd(struct client *client);
-
int client_is_expired(const struct client *client);
/**