From 58464339da8884bc1530e2a8e4fe4dcfeca09d81 Mon Sep 17 00:00:00 2001 From: Michael Meffie Date: Wed, 8 Mar 2017 11:48:14 -0500 Subject: [PATCH] linux24: remove unused NUMPAGGROUPS define Remove the unused NUMPAGGROUPS define in the pag group handling implementation for linux24. PAGS always take two group ids in linux24, so the NUMPAGGROUPS define was not used in linux24. Remove the unused constant. This is a 1.6.x only change, since linux24 support has been removed on the master branch. Change-Id: I10d4d5744420b075a10deecf052d2ecc128ad8fe Reviewed-on: https://gerrit.openafs.org/12563 Tested-by: BuildBot Reviewed-by: Mark Vitale Reviewed-by: Stephan Wiesand --- src/afs/LINUX24/osi_groups.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/afs/LINUX24/osi_groups.c b/src/afs/LINUX24/osi_groups.c index a0ac21de0f..80c96cc3a4 100644 --- a/src/afs/LINUX24/osi_groups.c +++ b/src/afs/LINUX24/osi_groups.c @@ -28,8 +28,6 @@ #include "h/smp_lock.h" #endif -#define NUMPAGGROUPS 2 - static int afs_setgroups(cred_t **cr, int ngroups, gid_t * gidset, int change_parent) {