Linux: remove unused cr->next member in struct afs_cred
[openafs.git] / src / afs / LINUX24 / osi_machdep.h
index 02e0898..b7206ec 100644 (file)
@@ -163,10 +163,11 @@ typedef struct afs_cred {         /* maps to task field: */
     gid_t cr_rgid;             /* gid */
     gid_t cr_groups[NGROUPS];  /* 32 groups - empty set to NOGROUP */
     int cr_ngroups;
-    struct afs_cred *cr_next;
 } cred_t;
-#define AFS_UCRED struct afs_cred
-#define AFS_PROC struct task_struct
+
+typedef struct afs_cred afs_ucred_t;
+typedef struct task_struct afs_proc_t;
+
 #if !defined(current_cred)
 #define current_gid() (current->gid)
 #define current_uid() (current->uid)