From: Michael Meffie Date: Thu, 28 Apr 2016 21:15:06 +0000 (-0400) Subject: afs: remove commented out AIX specific tweak X-Git-Tag: upstream/1.6.20^2~27 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8157bde183b32e54bde9fb5b90769b2ab44032ed;p=packages%2Fo%2Fopenafs.git afs: remove commented out AIX specific tweak This AIX specific code block has been commented out since openafs-ibm-1_0. The comments seem to indicate this was a networking tweak specific to AIX, but the kernel variables involved were not exported. Clean up afs_call.c by removing this dead code. Reviewed-on: https://gerrit.openafs.org/12276 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot (cherry picked from commit 5277460eaa300fc973b59d007cd3eaea93d30873) Change-Id: Idcf94dc5962a6bb183af3bfccead3b17cff2ee58 Reviewed-on: https://gerrit.openafs.org/12306 Tested-by: BuildBot Reviewed-by: Mark Vitale Reviewed-by: Michael Meffie Reviewed-by: Stephan Wiesand --- diff --git a/src/afs/afs_call.c b/src/afs/afs_call.c index db35eb142..a8937a31a 100644 --- a/src/afs/afs_call.c +++ b/src/afs/afs_call.c @@ -1241,22 +1241,6 @@ afs_syscall_call(long parm, long parm2, long parm3, if (!code) AFS_COPYOUT((caddr_t) & mtu, AFSKPTR(parm3), sizeof(afs_int32), code); -#ifdef AFS_AIX32_ENV -/* this is disabled for now because I can't figure out how to get access - * to these kernel variables. It's only for supporting user-mode rx - * programs -- it makes a huge difference on the 220's in my testbed, - * though I don't know why. The bosserver does this with /etc/no, so it's - * being handled a different way for the servers right now. */ -/* { - static adjusted = 0; - extern u_long sb_max_dflt; - if (!adjusted) { - adjusted = 1; - if (sb_max_dflt < 131072) sb_max_dflt = 131072; - if (sb_max < 131072) sb_max = 131072; - } - } */ -#endif /* AFS_AIX32_ENV */ } else if (parm == AFSOP_GETMASK) { /* parm2 == addr in net order */ afs_uint32 mask = 0; #if !defined(AFS_SUN5_ENV)