summaryrefslogtreecommitdiff
path: root/source3/smbd/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/dir.c')
-rw-r--r--source3/smbd/dir.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index cae6281e91..f3f261f0b2 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -493,8 +493,6 @@ int dptr_create(connection_struct *conn,char *path, BOOL old_handle, BOOL expect
return(dptr->dnum);
}
-#define DPTR_MASK ((uint32)(((uint32)1)<<31))
-
/****************************************************************************
Fill the 5 byte server reserved dptr field.
****************************************************************************/
@@ -516,16 +514,6 @@ BOOL dptr_fill(char *buf1,unsigned int key)
return(True);
}
-
-/****************************************************************************
- Return True if the offset is at zero.
-****************************************************************************/
-
-BOOL dptr_zero(char *buf)
-{
- return((IVAL(buf,1)&~DPTR_MASK) == 0);
-}
-
/****************************************************************************
Fetch the dir ptr and seek it given the 5 byte server field.
****************************************************************************/