From 7bcd0b03544eada041beec4bd0911160497b55d5 Mon Sep 17 00:00:00 2001 From: Dhairya Parmar Date: Thu, 8 Feb 2024 17:58:42 +0530 Subject: [PATCH] client: remove unused/undefined fake_write_size() there are no usages of this function in entire codebase Signed-off-by: Dhairya Parmar --- src/client/Client.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/client/Client.h b/src/client/Client.h index 9c1303384be8e..d49fd46c17649 100644 --- a/src/client/Client.h +++ b/src/client/Client.h @@ -485,7 +485,6 @@ public: int preadv(int fd, const struct iovec *iov, int iovcnt, loff_t offset=-1); int write(int fd, const char *buf, loff_t size, loff_t offset=-1); int pwritev(int fd, const struct iovec *iov, int iovcnt, loff_t offset=-1); - int fake_write_size(int fd, loff_t size); int ftruncate(int fd, loff_t size, const UserPerm& perms); int fsync(int fd, bool syncdataonly); int fstat(int fd, struct stat *stbuf, const UserPerm& perms, -- 2.39.5