]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib: Remove a function unused since 2016
authorVolker Lendecke <vl@samba.org>
Sat, 3 Jan 2026 09:17:17 +0000 (10:17 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 20 Jan 2026 11:53:34 +0000 (11:53 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/include/proto.h
source3/lib/util.c

index d851caefb1d0cff076f7b5772f38e4694df47927..ca659235697d33c6f00bdc24d633426b8ecad2b4 100644 (file)
@@ -366,7 +366,6 @@ bool split_domain_user(TALLOC_CTX *mem_ctx,
                       char **user);
 const char *strip_hostname(const char *s);
 bool any_nt_status_not_ok(NTSTATUS err1, NTSTATUS err2, NTSTATUS *result);
-int timeval_to_msec(struct timeval t);
 bool is_executable(const char *fname);
 bool map_open_params_to_ntcreate(const char *smb_base_fname,
                                 int deny_mode, int open_func,
index 8f65f6866a5814436b54c57dfa07d456018772eb..3308654d236bfab45fbe7714b233334d0696abb5 100644 (file)
@@ -1531,11 +1531,6 @@ bool any_nt_status_not_ok(NTSTATUS err1, NTSTATUS err2, NTSTATUS *result)
        return false;
 }
 
-int timeval_to_msec(struct timeval t)
-{
-       return t.tv_sec * 1000 + (t.tv_usec+999) / 1000;
-}
-
 /*******************************************************************
  Return True if the filename is one of the special executable types.
 ********************************************************************/