Commit 1dee0d25 authored by Eric Sandeen's avatar Eric Sandeen Committed by Nathan Scott

[XFS] Remove some dead debug code

SGI Modid: xfs-linux:xfs-kern:167279a
parent 032a16c1
...@@ -780,14 +780,8 @@ xfs_alloc_ag_vextent_near( ...@@ -780,14 +780,8 @@ xfs_alloc_ag_vextent_near(
/* /*
* Randomly don't execute the first algorithm. * Randomly don't execute the first algorithm.
*/ */
static int seed; /* randomizing seed value */
int dofirst; /* set to do first algorithm */ int dofirst; /* set to do first algorithm */
timespec_t now; /* current time */
if (!seed) {
nanotime(&now);
seed = (int)now.tv_sec ^ (int)now.tv_nsec;
}
dofirst = random() & 1; dofirst = random() & 1;
#endif #endif
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment