diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-03-18 09:54:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:40 -0500 |
commit | 80a78b0aa86e064701b9b43a976f26fb8143d64a (patch) | |
tree | bfc3a895b921160747755c2f49fbc8a87a97524c /source3 | |
parent | ecd496f06654e8316260c9a6ddab5e473f9cc452 (diff) | |
download | samba-80a78b0aa86e064701b9b43a976f26fb8143d64a.tar.gz samba-80a78b0aa86e064701b9b43a976f26fb8143d64a.tar.bz2 samba-80a78b0aa86e064701b9b43a976f26fb8143d64a.zip |
r21866: Remove unused "lock spin count" parameter
(This used to be commit 52f2c89c0a462a69fe945401ac1a7341e2a6e4ca)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/param/loadparm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index b9e9505b34..13455101d8 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -229,7 +229,6 @@ typedef struct { int winbind_cache_time; int winbind_max_idle_children; char **szWinbindNssInfo; - int iLockSpinCount; int iLockSpinTime; char *szLdapMachineSuffix; char *szLdapUserSuffix; @@ -1156,7 +1155,6 @@ static struct parm_struct parm_table[] = { {"fake oplocks", P_BOOL, P_LOCAL, &sDefault.bFakeOplocks, NULL, NULL, FLAG_ADVANCED | FLAG_SHARE}, {"kernel oplocks", P_BOOL, P_GLOBAL, &Globals.bKernelOplocks, NULL, NULL, FLAG_ADVANCED | FLAG_GLOBAL}, {"locking", P_BOOL, P_LOCAL, &sDefault.bLocking, NULL, NULL, FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL}, - {"lock spin count", P_INTEGER, P_GLOBAL, &Globals.iLockSpinCount, NULL, NULL, FLAG_ADVANCED | FLAG_GLOBAL}, {"lock spin time", P_INTEGER, P_GLOBAL, &Globals.iLockSpinTime, NULL, NULL, FLAG_ADVANCED | FLAG_GLOBAL}, {"oplocks", P_BOOL, P_LOCAL, &sDefault.bOpLocks, NULL, NULL, FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL}, @@ -1559,7 +1557,6 @@ static void init_globals(BOOL first_time_only) Globals.map_to_guest = 0; /* By Default, "Never" */ Globals.oplock_break_wait_time = 0; /* By Default, 0 msecs. */ Globals.enhanced_browsing = True; - Globals.iLockSpinCount = 0; /* Unused. */ Globals.iLockSpinTime = WINDOWS_MINIMUM_LOCK_TIMEOUT_MS; /* msec. */ #ifdef MMAP_BLACKLIST Globals.bUseMmap = False; @@ -2016,7 +2013,6 @@ FN_GLOBAL_INTEGER(lp_lm_interval, &Globals.lm_interval) FN_GLOBAL_INTEGER(lp_machine_password_timeout, &Globals.machine_password_timeout) FN_GLOBAL_INTEGER(lp_map_to_guest, &Globals.map_to_guest) FN_GLOBAL_INTEGER(lp_oplock_break_wait_time, &Globals.oplock_break_wait_time) -FN_GLOBAL_INTEGER(lp_lock_spin_count, &Globals.iLockSpinCount) FN_GLOBAL_INTEGER(lp_lock_spin_time, &Globals.iLockSpinTime) FN_GLOBAL_INTEGER(lp_usershare_max_shares, &Globals.iUsershareMaxShares) |