summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2018-07-09 07:50:28 +0000
committerkrw <krw@openbsd.org>2018-07-09 07:50:28 +0000
commit2d4ccb6251fc88c9a7c2212276d4428df8f4257c (patch)
tree7c44c88301b8e27b1a271d231745b7a00d162b6a /sys
parentRemove array of IMSG type names. (diff)
downloadwireguard-openbsd-2d4ccb6251fc88c9a7c2212276d4428df8f4257c.tar.xz
wireguard-openbsd-2d4ccb6251fc88c9a7c2212276d4428df8f4257c.zip
Nuke unused define 'nfsm_writereply()'.
ok beck@ deraadt@ guenther@ mpi@
Diffstat (limited to 'sys')
-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; \