]> git.hungrycats.org Git - linux/commitdiff
[XFS] Remove some dead debug code
authorEric Sandeen <sandeen@sgi.com>
Wed, 3 Mar 2004 03:07:29 +0000 (14:07 +1100)
committerNathan Scott <nathans@sgi.com>
Wed, 3 Mar 2004 03:07:29 +0000 (14:07 +1100)
SGI Modid: xfs-linux:xfs-kern:167279a

fs/xfs/xfs_alloc.c

index 14903f3c69060522161826c74d6bc04f4e11efd4..74cad985b0032fac41ae4937bf7f6c1e15271bf8 100644 (file)
@@ -780,14 +780,8 @@ xfs_alloc_ag_vextent_near(
        /*
         * Randomly don't execute the first algorithm.
         */
-       static int      seed;           /* randomizing seed value */
        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;
 #endif
        /*