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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Andrew Deason 2010-06-28 10:33:38 -05:00 committed by Derrick Brashear
parent 16f19e79d1
commit 773b4968e4

View File

@ -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)