From f8f3532bf5e0f3e3bb0e09355ddf7c751fae246d Mon Sep 17 00:00:00 2001 From: Mark Vitale Date: Thu, 11 Mar 2021 17:34:29 -0500 Subject: [PATCH] fstrace: remove common dead code Previous commits removed dead code from both fstrace.c and afs_icl.c. Now remove anything from config/icl.h that is no longer needed. No functional change is incurred by this commit. Change-Id: Ibdad10ec4c91cd8c2d3fbd637354357f05ac2621 Reviewed-on: https://gerrit.openafs.org/14556 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk --- src/config/icl.h | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/config/icl.h b/src/config/icl.h index 35ae59a..7bf8cc8 100644 --- a/src/config/icl.h +++ b/src/config/icl.h @@ -66,13 +66,9 @@ struct afs_icl_set { #define ICL_DEFAULT_SET_STATES 0 /* was ICL_SETF_ACTIVE */ #endif /* ICL_DEFAULT_SET_STATES */ -/* bytes required by eventFlags array, for x events */ -#define ICL_EVENTBYTES(x) ((((x) - 1) | 7) + 1) - /* functions for finding a particular event */ #define ICL_EVENTBYTE(x) (((x) & 0x3ff) >> 3) #define ICL_EVENTMASK(x) (1 << ((x) & 0x7)) -#define ICL_EVENTOK(setp, x) ((x&0x3ff) >= 0 && (x&0x3ff) < (setp)->nevents) /* define ICL syscalls by name!! */ #define ICL_OP_COPYOUT 1 @@ -96,9 +92,6 @@ struct afs_icl_set { #define ICL_OP_SS_DEACTIVATE 2 #define ICL_OP_SS_FREE 3 -/* define set status flags */ -#define ICL_FLAG_ACTIVE 1 -#define ICL_FLAG_FREED 2 /* The format of the circular log is: * 1'st word: @@ -240,27 +233,6 @@ extern struct afs_icl_set *afs_iclLongTermSetp; #define ICL_RPC_MAX_SETS (64) #define ICL_RPC_MAX_LOGS (64) -typedef struct afs_icl_setinfo { - u_char setName[32]; - afs_uint32 states; -} afs_icl_setinfo_t; - -typedef struct afs_icl_loginfo { - u_char logName[32]; - afs_uint32 logSize; - afs_uint32 logElements; - afs_uint32 states; -} afs_icl_loginfo_t; - -typedef struct afs_icl_bulkSetinfo { - afs_uint32 count; - afs_icl_setinfo_t setinfo[1]; -} afs_icl_bulkSetinfo_t; - -typedef struct afs_icl_bulkLoginfo { - afs_uint32 count; - afs_icl_loginfo_t loginfo[1]; -} afs_icl_bulkLoginfo_t; #endif -- 1.9.4