From 775afb16fc753128b35b5116965a16827f0a4969 Mon Sep 17 00:00:00 2001 From: Mark Vitale Date: Fri, 28 Aug 2020 15:01:50 -0400 Subject: [PATCH] rx: remove dead code xdrrx_getpos, xdrrx_setpos These routines have been dead code since the original IBM code import. They were ifdef'd out in commit 1d93f2da22eb 'rx-warnings-and-prototyping-20010623' Remove them from the tree. No functional change is incurred by this commit. Change-Id: I958c07487e2453690535acd01b92c59fcecd1189 Reviewed-on: https://gerrit.openafs.org/14332 Reviewed-by: Cheyenne Wills Tested-by: BuildBot Reviewed-by: Benjamin Kaduk --- src/rx/xdr_rx.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/rx/xdr_rx.c b/src/rx/xdr_rx.c index 9a7aba9..7256d32 100644 --- a/src/rx/xdr_rx.c +++ b/src/rx/xdr_rx.c @@ -225,22 +225,6 @@ xdrrx_putbytes(XDR *axdrs, caddr_t addr, u_int len) return code; } -#ifdef undef /* not used */ -static u_int -xdrrx_getpos(XDR * xdrs) -{ - /* Not supported. What error code should we return? (It doesn't matter: it will never be called, anyway!) */ - return -1; -} - -static bool_t -xdrrx_setpos(XDR * xdrs, u_int pos) -{ - /* Not supported */ - return FALSE; -} -#endif - static afs_int32 * xdrrx_inline(XDR *axdrs, u_int len) { -- 1.9.4