lib: Remove unused file_id_string_tos()
authorVolker Lendecke <vl@samba.org>
Sat, 9 Nov 2019 20:01:12 +0000 (21:01 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 12 Nov 2019 20:56:35 +0000 (20:56 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/file_id.c
source3/lib/file_id.h

index 49e5c50385fefce6e16a462462090eadfe431dc5..aae5cc48150b47fc3eed3b9bb65c54bf7c0951a1 100644 (file)
@@ -31,14 +31,6 @@ bool file_id_equal(const struct file_id *id1, const struct file_id *id2)
            id1->extid == id2->extid;
 }
 
-/*
-  a static-like (on talloc_tos()) string for a file_id structure
- */
-const char *file_id_string_tos(const struct file_id *id)
-{
-       return file_id_string(talloc_tos(), id);
-}
-
 char *file_id_str_buf(struct file_id fid, struct file_id_buf *dst)
 {
        snprintf(dst->buf,
index c001199a35b911df1248d97399c0e0bd28486758..e76597d2c8384886f6d10a72f02e0eb59e5b3550 100644 (file)
@@ -34,10 +34,6 @@ bool file_id_equal(const struct file_id *id1, const struct file_id *id2);
 struct file_id_buf { char buf[63]; };
 char *file_id_str_buf(struct file_id fid, struct file_id_buf *dst);
 
-/*
-  a static-like (on talloc_tos()) string for a file_id structure
- */
-const char *file_id_string_tos(const struct file_id *id);
 /*
   an allocated string for a file_id structure
  */