From 19024076a7497a2423ff06d36496385f27395332 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Wed, 28 Nov 2012 14:33:59 -0500 Subject: [PATCH] gssd_proc: remove pointless test against FD_ALLOC_BLOCK in process_pipedir I can see no possible point for this test against FD_ALLOC_BLOCK, so just remove the test. Signed-off-by: NeilBrown Signed-off-by: Steve Dickson --- utils/gssd/gssd_proc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c index ba118d7..6f9840e 100644 --- a/utils/gssd/gssd_proc.c +++ b/utils/gssd/gssd_proc.c @@ -556,9 +556,8 @@ process_pipedir(char *pipe_name) update_old_clients(namelist, j, pipe_name); for (i=0; i < j; i++) { - if (i < FD_ALLOC_BLOCK - && !strncmp(namelist[i]->d_name, "clnt", 4) - && !find_client(namelist[i]->d_name, pipe_name)) + if (!strncmp(namelist[i]->d_name, "clnt", 4) + && !find_client(namelist[i]->d_name, pipe_name)) process_clnt_dir(namelist[i]->d_name, pipe_name); free(namelist[i]); } -- 2.39.5