From 773b4968e450601910c838232e2b281b1db176a6 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Mon, 28 Jun 2010 10:33:38 -0500 Subject: [PATCH] LINUX24: Remove group_info macros/functions The LINUX24 code has a macro and a function abstracting 'struct group_info' access. But 'struct group_info' does not exist in 2.4, and nothing calls these, so get rid of them. Change-Id: Ic38f5be27d55da9fdf6ce7889d4df6afd1464c0f Reviewed-on: http://gerrit.openafs.org/2268 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/afs/LINUX24/osi_machdep.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/afs/LINUX24/osi_machdep.h b/src/afs/LINUX24/osi_machdep.h index bab702f523..5fc26e8a79 100644 --- a/src/afs/LINUX24/osi_machdep.h +++ b/src/afs/LINUX24/osi_machdep.h @@ -168,12 +168,6 @@ typedef struct afs_cred { /* maps to task field: */ typedef struct afs_cred afs_ucred_t; typedef struct task_struct afs_proc_t; -#define afs_cr_group_info(cred) ((cred)->cr_group_info) -static inline void -afs_set_cr_group_info(afs_ucred_t *cred, struct group_info *group_info) { - cred->cr_group_info = group_info; -} - #if !defined(current_cred) #define current_gid() (current->gid) #define current_uid() (current->uid)