smbd: remove dptr_init_search_op()
[kai/samba-autobuild/.git] / source3 / smbd / dir.c
index 19e2964011869b1712f18fa8e410d51053026b51..6621b4ee3875a963581b531076b8f75aa4a20f4d 100644 (file)
@@ -886,14 +886,6 @@ bool dptr_SearchDir(struct dptr_struct *dptr, const char *name, long *poffset, S
        return SearchDir(dptr->dir_hnd, name, poffset);
 }
 
-/****************************************************************************
- Initialize variables & state data at the beginning of all search SMB requests.
-****************************************************************************/
-void dptr_init_search_op(struct dptr_struct *dptr)
-{
-       SMB_VFS_INIT_SEARCH_OP(dptr->conn, dptr->dir_hnd->dir);
-}
-
 /****************************************************************************
  Map a native directory offset to a 32-bit cookie.
 ****************************************************************************/