summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2018-07-09 07:50:29 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2018-07-09 07:50:29 +0000
commitec98a6b65c691ec27b193001192857ea1ffa3967 (patch)
tree37da677bb6020058d99c7b100e45da557e332c49
parentdb25c20630e2725c0fe562644862841ae622cd15 (diff)
Nuke unused define 'nfsm_writereply()'.
ok beck@ deraadt@ guenther@ mpi@
-rw-r--r--sys/nfs/nfsm_subs.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/nfs/nfsm_subs.h b/sys/nfs/nfsm_subs.h
index 778f2f49b07..020997855f8 100644
--- a/sys/nfs/nfsm_subs.h
+++ b/sys/nfs/nfsm_subs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfsm_subs.h,v 1.45 2015/08/29 23:07:51 deraadt Exp $ */
+/* $OpenBSD: nfsm_subs.h,v 1.46 2018/07/09 07:50:28 krw Exp $ */
/* $NetBSD: nfsm_subs.h,v 1.10 1996/03/20 21:59:56 fvdl Exp $ */
/*
@@ -226,16 +226,6 @@ struct nfsm_info {
return(0); \
}
-#define nfsm_writereply(s, v3) { \
- nfsd->nd_repstat = error; \
- if (error && !(v3)) \
- (void) nfs_rephead(0, nfsd, slp, error, &info.nmi_mreq, \
- &info.nmi_mb); \
- else \
- (void) nfs_rephead((s), nfsd, slp, error, &info.nmi_mreq, \
- &info.nmi_mb); \
-}
-
#define nfsm_adv(s) { \
t1 = mtod(info.nmi_md, caddr_t) + info.nmi_md->m_len - \
info.nmi_dpos; \