diff options
Diffstat (limited to 'third_party/git/csum-file.h')
-rw-r--r-- | third_party/git/csum-file.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/third_party/git/csum-file.h b/third_party/git/csum-file.h index f9cbd317fbbc..a98b1eee53f4 100644 --- a/third_party/git/csum-file.h +++ b/third_party/git/csum-file.h @@ -42,15 +42,6 @@ void hashflush(struct hashfile *f); void crc32_begin(struct hashfile *); uint32_t crc32_end(struct hashfile *); -/* - * Returns the total number of bytes fed to the hashfile so far (including ones - * that have not been written out to the descriptor yet). - */ -static inline off_t hashfile_total(struct hashfile *f) -{ - return f->total + f->offset; -} - static inline void hashwrite_u8(struct hashfile *f, uint8_t data) { hashwrite(f, &data, sizeof(data)); |