library: removed that 'did_fake' flag from the PROCTAB
When some cleanup was performed on the readproc module
in the commit shown below, some residual code involved
with the 'did_fake' flag remained. Since such logic no
longer served any real need, this patch will whack it.
Reference(s):
. cleanup of readproc functions
commit 887bb51016
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -1319,13 +1319,6 @@ proc_t* readproc(PROCTAB *restrict const PT, proc_t *restrict p) {
|
||||
proc_t *ret;
|
||||
proc_t *saved_p;
|
||||
|
||||
PT->did_fake=0;
|
||||
// if (PT->taskdir) {
|
||||
// closedir(PT->taskdir);
|
||||
// PT->taskdir = NULL;
|
||||
// PT->taskdir_user = -1;
|
||||
// }
|
||||
|
||||
saved_p = p;
|
||||
if (p) free_acquired(p, 1);
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user