From: Christof Schmitt Date: Tue, 23 Jun 2020 18:46:38 +0000 (-0700) Subject: smbd: Remove code inside #ifdef NEXT2 X-Git-Tag: talloc-2.3.2~1112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2162d50316fce9a2015121642013902eeffa2367;p=thirdparty%2Fsamba.git smbd: Remove code inside #ifdef NEXT2 This is dead code, the define is never set. Signed-off-by: Christof Schmitt Reviewed-by: Volker Lendecke --- 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;