aboutsummaryrefslogtreecommitdiff
path: root/sys/netsmb
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-04-20 21:13:24 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-04-20 21:13:24 +0000
commita9a25801e81825f58e052af0d37d6ef46dde559c (patch)
treeb7e245fb7489ca392d899c153dc978bdb43c1570 /sys/netsmb
parent4ecb514126babc59b966bc0fc414608d87b4996b (diff)
downloadsrc-a9a25801e81825f58e052af0d37d6ef46dde559c.tar.gz
src-a9a25801e81825f58e052af0d37d6ef46dde559c.zip
Remove unused SMB_DIALECT_MAX macro.
Found by: jhb
Notes
Notes: svn path=/head/; revision=298375
Diffstat (limited to 'sys/netsmb')
-rw-r--r--sys/netsmb/smb_smb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netsmb/smb_smb.c b/sys/netsmb/smb_smb.c
index 6d4f3898e1c3..b2f94a080bd6 100644
--- a/sys/netsmb/smb_smb.c
+++ b/sys/netsmb/smb_smb.c
@@ -68,8 +68,6 @@ static struct smb_dialect smb_dialects[] = {
{-1, NULL}
};
-#define SMB_DIALECT_MAX (nitems(smb_dialects) - 2)
-
static u_int32_t
smb_vc_maxread(struct smb_vc *vcp)
{