]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
linux24: remove unused NUMPAGGROUPS define
authorMichael Meffie <mmeffie@sinenomine.net>
Wed, 8 Mar 2017 16:48:14 +0000 (11:48 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 15 Mar 2017 18:06:06 +0000 (14:06 -0400)
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 <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/LINUX24/osi_groups.c

index a0ac21de0f16359920c5e7b116099c350122144b..80c96cc3a40fae4d66cae3b556fb2fdfa26553ca 100644 (file)
@@ -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)
 {