From: Michael Meffie Date: Thu, 28 Apr 2016 21:15:06 +0000 (-0400) Subject: afs: remove commented out AIX specific tweak X-Git-Tag: openafs-stable-1_8_0pre1~90 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=5277460eaa300fc973b59d007cd3eaea93d30873 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. Change-Id: Ieb66573c410199d590bfcccf942dca28547ed1e0 Reviewed-on: https://gerrit.openafs.org/12276 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot --- diff --git a/src/afs/afs_call.c b/src/afs/afs_call.c index d63c793..db42f49 100644 --- a/src/afs/afs_call.c +++ b/src/afs/afs_call.c @@ -1225,22 +1225,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)