From bc9ab0d85a37b7126502a810320daffc0fdacfb3 Mon Sep 17 00:00:00 2001 From: Mark Vitale Date: Tue, 5 Jun 2018 14:12:20 -0400 Subject: [PATCH] xdr: remove dead code, whitespace from xdr_enum The 'enum sizecheck' declaration has been unused since openafs-ibm-1_0; it is apparently vestigial from the original XDR code. Remove it, along with some extraneous whitespace. No functional change is incurred by this commit. Reviewed-on: https://gerrit.openafs.org/13076 Tested-by: BuildBot Reviewed-by: Andrew Deason Reviewed-by: Benjamin Kaduk (cherry picked from commit fdc8adbf0904cbbc0590379c5cb702a15273b40c) Change-Id: Ie586f210d17169a03143d1bdebb8430e3881e58c Reviewed-on: https://gerrit.openafs.org/13184 Tested-by: BuildBot Reviewed-by: Michael Meffie Reviewed-by: Joe Gorse Reviewed-by: Andrew Deason Reviewed-by: Marcio Brito Barbosa Reviewed-by: Benjamin Kaduk --- src/rx/xdr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/rx/xdr.c b/src/rx/xdr.c index fa106c8dc..f37072339 100644 --- a/src/rx/xdr.c +++ b/src/rx/xdr.c @@ -332,14 +332,11 @@ xdr_bool(XDR * xdrs, bool_t * bp) bool_t xdr_enum(XDR * xdrs, enum_t * ep) { - enum sizecheck { SIZEVAL }; /* used to find the size of an enum */ - /* * enums are treated as ints */ return (xdr_int(xdrs, ep)); - } /* -- 2.39.5