libnfs.c: remove function nfs_get_current_offset

Remove this function (that no one uses) since this is what
lseek(SEEK_CUR, 0) does.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
libnfs-4.0.0-vitalif
Ronnie Sahlberg 2014-12-09 13:41:28 -08:00
parent 9c1d38488e
commit b53cd4d76c
2 changed files with 0 additions and 14 deletions

View File

@ -1413,13 +1413,6 @@ EXTERN struct exportnode *mount_getexports(const char *server);
EXTERN void mount_free_export_list(struct exportnode *exports);
//qqq replace later with lseek(cur, 0)
uint64_t nfs_get_current_offset(struct nfsfh *nfsfh);
struct nfs_server_list {
struct nfs_server_list *next;
char *addr;

View File

@ -4930,13 +4930,6 @@ int nfs_link_async(struct nfs_context *nfs, const char *oldpath, const char *new
}
//qqq replace later with lseek()
uint64_t nfs_get_current_offset(struct nfsfh *nfsfh)
{
return nfsfh->offset;
}
/*
* Get the maximum supported READ3 size by the server