summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-23 17:04:42 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-23 20:03:09 +0200
commit97f0a3675f0abaa1645f3d980f63d2b8f74a34a9 (patch)
treea224c64b0c528b02518a2abbe6ead50d3ebdfaf9 /source3/smbd
parenta0c9a291e7cf0084a67cbb3fd017ddbff7d3b758 (diff)
downloadsamba-97f0a3675f0abaa1645f3d980f63d2b8f74a34a9.tar.gz
samba-97f0a3675f0abaa1645f3d980f63d2b8f74a34a9.tar.bz2
samba-97f0a3675f0abaa1645f3d980f63d2b8f74a34a9.zip
s3:smbd/files: remove unused VALID_FNUM()
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/files.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c
index 8a9f055530..203d0ad4c8 100644
--- a/source3/smbd/files.c
+++ b/source3/smbd/files.c
@@ -25,8 +25,6 @@
#include <ccan/hash/hash.h>
#include "lib/util/bitmap.h"
-#define VALID_FNUM(fnum) (((fnum) >= 0) && ((fnum) < real_max_open_files))
-
#define FILE_HANDLE_OFFSET 0x1000
/****************************************************************************