From 2162d50316fce9a2015121642013902eeffa2367 Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Tue, 23 Jun 2020 11:46:38 -0700 Subject: [PATCH] smbd: Remove code inside #ifdef NEXT2 This is dead code, the define is never set. Signed-off-by: Christof Schmitt Reviewed-by: Volker Lendecke --- source3/smbd/vfs.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index f8c71014955..df2d7605ad9 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -855,11 +855,6 @@ const char *vfs_readdirname(connection_struct *conn, void *p, dname = ptr->d_name; -#ifdef NEXT2 - if (telldir(p) < 0) - return(NULL); -#endif - #ifdef HAVE_BROKEN_READDIR_NAME /* using /usr/ucb/cc is BAD */ dname = dname - 2; -- 2.47.3