]> granicus.if.org Git - procps-ng/commitdiff
revert sentinel code for top
authorCraig Small <csmall@enc.com.au>
Mon, 5 Dec 2011 21:51:06 +0000 (08:51 +1100)
committerCraig Small <csmall@enc.com.au>
Mon, 5 Dec 2011 21:51:06 +0000 (08:51 +1100)
top.c

diff --git a/top.c b/top.c
index 49b126b5997773e14c1b217d93471f3ff4f992af..c22d4f000506a4d99b0ac04106d20fca22b44e1e 100644 (file)
--- a/top.c
+++ b/top.c
@@ -3137,13 +3137,6 @@ static void forest_create (WIN_t *q) {
       }
       while (0 == Seed_ppt[i]->ppid)        // identify trees (expect 2)
          forest_add(i++, 0);                // add parent plus children
-      if (Frame_maxtask != Tree_idx) {      // guard against contingencies
-         error_exit(fmtmk(                  // in future kernels
-            "An anomaly was encountered, please see\n\t"
-            "http://www.debian.org/Bugs/Reporting\n\t"
-            "and note: 'Frame_maxtask(%d) != Tree_idx(%d)'\n"
-               , Frame_maxtask, Tree_idx));
-      }
    }
    memcpy(Seed_ppt, Tree_ppt, sizeof(proc_t*) * Frame_maxtask);
 } // end: forest_create