From: Michael Meffie Date: Wed, 8 Mar 2017 16:48:14 +0000 (-0500) Subject: linux24: remove unused NUMPAGGROUPS define X-Git-Tag: upstream/1.6.21^2~35 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=58464339da8884bc1530e2a8e4fe4dcfeca09d81;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/afs/LINUX24/osi_groups.c b/src/afs/LINUX24/osi_groups.c index a0ac21de0..80c96cc3a 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) {