FBSD: Remove support for 8.x and 9.x
[openafs.git] / src / afs / FBSD / osi_groups.c
index 421a085..6326f6c 100644 (file)
@@ -48,17 +48,9 @@ Afs_xsetgroups(struct thread *td, struct setgroups_args *uap)
     AFS_GUNLOCK();
     crfree(cr);
     if (code)
-#if (__FreeBSD_version >= 900044)
        return sys_setgroups(td, uap);  /* afs has shut down */
-#else
-       return setgroups(td, uap);      /* afs has shut down */
-#endif
 
-#if (__FreeBSD_version >= 900044)
     code = sys_setgroups(td, uap);
-#else
-    code = setgroups(td, uap);
-#endif
     /* Note that if there is a pag already in the new groups we don't
      * overwrite it with the old pag.
      */
@@ -81,13 +73,8 @@ int
 setpag(struct thread *td, struct ucred **cred, afs_uint32 pagvalue,
        afs_uint32 * newpag, int change_parent)
 {
-#if defined(AFS_FBSD81_ENV)
     gid_t *gidset;
     int gidset_len = ngroups_max + 1;
-#else
-    gid_t *gidset;
-    int gidset_len = NGROUPS;  /* 1024 */
-#endif
     int ngroups, code;
     int j;