From 469a401cf5f4d1f29917ec6b62a7b175777c451f Mon Sep 17 00:00:00 2001 From: yamt Date: Tue, 6 May 2003 13:52:36 +0000 Subject: [PATCH] remove nfsm_srvstrsiz as it's no longer used. --- sys/nfs/nfsm_subs.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/nfs/nfsm_subs.h b/sys/nfs/nfsm_subs.h index 3537cca01de3..61c8fe600bb8 100644 --- a/sys/nfs/nfsm_subs.h +++ b/sys/nfs/nfsm_subs.h @@ -1,4 +1,4 @@ -/* $NetBSD: nfsm_subs.h,v 1.26 2003/04/24 21:21:07 drochner Exp $ */ +/* $NetBSD: nfsm_subs.h,v 1.27 2003/05/06 13:52:36 yamt Exp $ */ /* * Copyright (c) 1989, 1993 @@ -303,13 +303,6 @@ goto nfsmout; \ } } -#define nfsm_srvstrsiz(s,m) \ - { nfsm_dissect(tl,uint32_t *,NFSX_UNSIGNED); \ - if (((s) = fxdr_unsigned(uint32_t,*tl)) > (m) || (s) <= 0) { \ - error = EBADRPC; \ - nfsm_reply(0); \ - } } - #define nfsm_srvnamesiz(s) \ { nfsm_dissect(tl,uint32_t *,NFSX_UNSIGNED); \ if (((s) = fxdr_unsigned(uint32_t,*tl)) > NFS_MAXNAMLEN) \